Brunet.Connections.LinkMessage.LinkMessage C# (CSharp) Method

LinkMessage() public method

public LinkMessage ( ConnectionType t, NodeInfo local, NodeInfo remote, string token ) : System
t ConnectionType
local NodeInfo
remote NodeInfo
token string
return System
    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;
    }

Same methods

LinkMessage::LinkMessage ( IDictionary ht ) : System
LinkMessage::LinkMessage ( StringDictionary attributes, NodeInfo local, NodeInfo remote, string token ) : System
LinkMessage::LinkMessage ( string connection_type, NodeInfo local, NodeInfo remote, string token ) : System