Channels

One of the first actions performed by both the client and the server is to create an instance of HttpChannel. Here is the server-side statement:

HttpChannel x_channel = new HttpChannel(20172);

Channels are the mechanism used to transport messages between distributed applications. Channels don’t handle the transmission directly, but they act as a binding between a URL scheme and the means by which a remoting operation can be serialized and transmitted.

Channels are defined by three interfaces contained in the System.Runtime.Remoting.Channels namespace:

  • IChannel defines the basis for channels and is used to define common properties.

  • IChannelSender denotes a channel that is capable of emitting a message.

  • IChannelReceiver denotes a channel that ...

Get C# for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.