コード例 #1
0
ファイル: PmlCommunicator2.cs プロジェクト: UCIS/UCIS.Core
 internal PmlChannelRequestReceivedEventArgsA(PmlCommunicator communicator, UInt32 sid, PmlElement message)
 {
     _communicator = communicator;
     _data         = message;
     _sid          = sid;
     _accepted     = _rejected = false;
 }
コード例 #2
0
ファイル: PmlCommunicator2.cs プロジェクト: UCIS/UCIS.Core
 internal SubChannel(PmlCommunicator communicator, UInt32 sid, bool accepted)
 {
     _communicator = communicator;
     _id           = sid;
     _state        = accepted ? ChannelState.Acknowledged : ChannelState.Requesting;
     if (accepted)
     {
         _communicator.AddSession(this);
     }
 }