예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NetworkChannel{T}"/> class.
 /// </summary>
 /// <param name="network">The netwrok that this channel is to be created for.</param>
 public NetworkChannel(NetworkBase network)
 {
     Network = network;
 }
예제 #2
0
 /// <summary>
 /// Registers a type of network to communicate with.
 /// </summary>
 /// <param name="network">A pre build network that we will use in communications.</param>
 internal void Register(NetworkBase network)
 {
     Register(network.AsRegistration());
 }