O'Reilly logo

C# for Java Developers by Adam Freeman, Allen Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required