Brunet.Services.ConnectionHandler.GetConnection C# (CSharp) 메소드

GetConnection() 보호된 메소드

protected GetConnection ( Address addr ) : Connection
addr Address
리턴 Brunet.Connections.Connection
    protected Connection GetConnection(Address addr)
    {
      ConnectionList cons = _node.ConnectionTable.GetConnections(ConnectionType.Structured);
      int index = cons.IndexOf(addr);
      if(index < 0) {
        return null;
      }
      return cons[index];
    }