PeerCastStation.Core.Host.Host C# (CSharp) Method

Host() public method

ホスト情報を初期化します
public Host ( System.Guid sessionID, System.Guid broadcastID, IPEndPoint localEndPoint, IPEndPoint globalEndPoint, int relayCount, int directCount, bool isFirewalled, bool isTracker, bool isRelayFull, bool isDirectFull, bool isReceiving, bool isControlFull, IEnumerable extensions, IAtomCollection extra ) : System
sessionID System.Guid
broadcastID System.Guid
localEndPoint System.Net.IPEndPoint
globalEndPoint System.Net.IPEndPoint
relayCount int
directCount int
isFirewalled bool
isTracker bool
isRelayFull bool
isDirectFull bool
isReceiving bool
isControlFull bool
extensions IEnumerable
extra IAtomCollection
return System
    public Host(
      Guid sessionID,
      Guid broadcastID,
      IPEndPoint localEndPoint,
      IPEndPoint globalEndPoint,
      int relayCount,
      int directCount,
      bool isFirewalled,
      bool isTracker,
      bool isRelayFull,
      bool isDirectFull,
      bool isReceiving,
      bool isControlFull,
      IEnumerable<string> extensions,
      IAtomCollection extra)
    {
      this.SessionID      = sessionID;
      this.BroadcastID    = broadcastID;
      this.LocalEndPoint  = localEndPoint;
      this.GlobalEndPoint = globalEndPoint;
      this.RelayCount     = relayCount;
      this.DirectCount    = directCount;
      this.IsFirewalled   = isFirewalled;
      this.IsTracker      = isTracker;
      this.IsRelayFull    = isRelayFull;
      this.IsDirectFull   = isDirectFull;
      this.IsReceiving    = isReceiving;
      this.IsControlFull  = isControlFull;
      this.Extensions     = new List<string>(extensions).AsReadOnly();
      this.Extra          = (new AtomCollection(extra)).AsReadOnly();
      this.LastUpdated    = Environment.TickCount;
    }
  }
Host