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