ConnectionTypeToString() 정적인 공개 메소드

static public ConnectionTypeToString ( ConnectionType t ) : string
t ConnectionType
리턴 string
예제 #1
0
 /**
  * @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;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public StatusMessage(ConnectionType ct, ArrayList neighbors)
 {
     _neigh_ct  = Connection.ConnectionTypeToString(ct);
     _neighbors = neighbors;
 }
예제 #4
0
 public LinkMessage(ConnectionType con_type, NodeInfo local,
                    NodeInfo remote, string realm, string token) :
     this(Connection.ConnectionTypeToString(con_type), local, remote, realm, token)
 {
 }