/** * @param t connection type * @param target the Address of the target node * @param token unique token used to associate all connection setup messages * with each other */ public ConnectToMessage(ConnectionType t, NodeInfo target, string token) { _ct = Connection.ConnectionTypeToString(t); _target_ni = target; _neighbors = new NodeInfo[0]; //Make sure this isn't null _token = token; }
public LinkMessage(ConnectionType t, NodeInfo local, NodeInfo remote, string token) { _attributes = new StringDictionary(); _attributes["type"] = Connection.ConnectionTypeToString(t); _local_ni = local; _remote_ni = remote; _token = token; }
public StatusMessage(ConnectionType ct, ArrayList neighbors) { _neigh_ct = Connection.ConnectionTypeToString(ct); _neighbors = neighbors; }
public LinkMessage(ConnectionType con_type, NodeInfo local, NodeInfo remote, string realm, string token) : this(Connection.ConnectionTypeToString(con_type), local, remote, realm, token) { }