remotePort, projects, UserPresence.fromVector(userPresence));
return true;
}
public static void addSelfTo(int port, InetAddress remoteAddress, InetAddress selfAddress, int myPort, Collection<String> projects, UserPresence presence) {
XmlRpcTargetImpl target = new XmlRpcTargetImpl(port, remoteAddress);
NetworkUtil.sendMessage(target, ID, "addOnlineUser",
selfAddress.getHostAddress(),
StringUtil.toXMLSafeString(StringUtil.getMyUsername()),
myPort,
new Vector<String>(projects),