Beispiel #1
0
 /// <summary>
 /// Initializes a new channel instance
 /// </summary>
 /// <param name="manager">
 /// Containing channel listener/factory
 /// </param>
 /// <param name="codec">
 /// The channel message coder/decoder
 /// </param>
 public Channel(
     ChannelManagerBase manager,
     MessageCodec codec)
     : base(manager)
 {
     this.codec = codec;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new channel instance
 /// </summary>
 /// <param name="manager">
 /// Containing channel listener/factory
 /// </param>
 /// <param name="codec">
 /// The channel message coder/decoder
 /// </param>
 /// <param name="localAddress">
 /// The address of the local endpoint
 /// </param>
 public ReplyChannel(
     ChannelManagerBase manager,
     MessageCodec codec,
     EndpointAddress localAddress)
     : base(manager, codec)
 {
     this.localAddress = localAddress;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new channel instance
 /// </summary>
 /// <param name="manager">
 /// Containing channel listener/factory
 /// </param>
 /// <param name="codec">
 /// The channel message coder/decoder
 /// </param>
 /// <param name="remoteAddress">
 /// The address of the remote endpoint
 /// </param>
 public OutputChannel(
     ChannelManagerBase manager,
     MessageCodec codec,
     EndpointAddress remoteAddress)
     : base(manager, codec)
 {
     this.remoteAddress = remoteAddress;
 }
 /// <summary>
 /// Initializes a new channel instance
 /// </summary>
 /// <param name="manager">
 /// Containing channel listener/factory
 /// </param>
 /// <param name="codec">
 /// The channel message coder/decoder
 /// </param>
 /// <param name="localAddress">
 /// The address of the local endpoint
 /// </param>
 /// <param name="remoteAddress">
 /// The address of the remote endpoint
 /// </param>
 public DuplexSessionChannel(
     ChannelManagerBase manager,
     MessageCodec codec,
     EndpointAddress localAddress,
     EndpointAddress remoteAddress)
     : base(manager, codec, localAddress, remoteAddress)
 {
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new channel instance
 /// </summary>
 /// <param name="manager">
 /// Containing channel listener/factory
 /// </param>
 /// <param name="codec">
 /// The channel message coder/decoder
 /// </param>
 /// <param name="localAddress">
 /// The address of the local endpoint
 /// </param>
 /// <param name="remoteAddress">
 /// The address of the remote endpoint
 /// </param>
 public DuplexChannel(
     ChannelManagerBase manager,
     MessageCodec codec,
     EndpointAddress localAddress,
     EndpointAddress remoteAddress)
     : base(manager, codec)
 {
     this.localAddress = localAddress;
      this.remoteAddress = remoteAddress;
 }
Beispiel #6
0
 /// <summary>
 /// Initializes a new request context instance
 /// </summary>
 /// <param name="request">
 /// The original request message
 /// </param>
 /// <param name="codec">
 /// The channel message coder/decoder
 /// </param>
 public RequestReply(Message request, MessageCodec codec)
 {
     this.requestMessage = request;
      this.codec = codec;
 }