示例#1
0
 internal PmlChannelRequestReceivedEventArgsA(PmlCommunicator communicator, UInt32 sid, PmlElement message)
 {
     _communicator = communicator;
     _data         = message;
     _sid          = sid;
     _accepted     = _rejected = false;
 }
示例#2
0
 internal SubChannel(PmlCommunicator communicator, UInt32 sid, bool accepted)
 {
     _communicator = communicator;
     _id           = sid;
     _state        = accepted ? ChannelState.Acknowledged : ChannelState.Requesting;
     if (accepted)
     {
         _communicator.AddSession(this);
     }
 }