Exemplo n.º 1
0
 public IntegrationNetChannel(IntegrationNetManager owner, ChannelWriter <object> otherChannel, int uid,
                              NetSessionId sessionId)
 {
     _owner        = owner;
     ConnectionUid = uid;
     SessionId     = sessionId;
     OtherChannel  = otherChannel;
 }
 public IntegrationNetChannel(IntegrationNetManager owner, ChannelWriter <object> otherChannel, int uid,
                              NetUserId userId, string userName)
 {
     _owner        = owner;
     ConnectionUid = uid;
     UserId        = userId;
     UserName      = userName;
     OtherChannel  = otherChannel;
     IsConnected   = true;
 }
Exemplo n.º 3
0
 public IntegrationNetChannel(IntegrationNetManager owner, ChannelWriter <object> otherChannel, int uid,
                              NetSessionId sessionId, int remoteUid) : this(owner, otherChannel, uid, sessionId)
 {
     RemoteUid = uid;
 }
 public IntegrationNetChannel(IntegrationNetManager owner, ChannelWriter <object> otherChannel, int uid,
                              NetUserId userId, int remoteUid, string userName) : this(owner, otherChannel, uid, userId, userName)
 {
     RemoteUid = uid;
 }