System.Runtime.Remoting.Channels.IChannelReceiver Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Channels
Summary
Provides required functions and properties for the receiver channels.
C# Syntax:
public interface IChannelReceiver : IChannel
Remarks
The receiving side of channels must expose the IChannelReceiver interface.
See also:
System.Runtime.Remoting.Channels Namespace

System.Runtime.Remoting.Channels.IChannelReceiver Member List:

Public Properties
ChannelData Read-only

Gets the channel-specific data.
Public Methods
GetUrlsForUri Returns an array of all the URLs for a URI.
StartListening Instructs the current channel to start listening for requests.
StopListening Instructs the current channel to stop listening for requests.

Hierarchy:


System.Runtime.Remoting.Channels.IChannelReceiver Member Details

Property: ChannelData (read-only)
Summary
Gets the channel-specific data.
C# Syntax:
object ChannelData {get;}
Remarks
This property is used when RemotingServices.Marshal is called and an ObjRef is created.

Return to top


Method: GetUrlsForUri(
   string objectURI
)
Summary
Returns an array of all the URLs for a URI.
C# Syntax:
string[] GetUrlsForUri(
   string objectURI
);
Parameters:

objectURI

The URI for which URLs are required.

Return Value:
An array of the URLs.
Remarks
This method is used by the ChannelServices.GetUrlsForObject method.

Return to top


Method: StartListening(
   object data
)
Summary
Instructs the current channel to start listening for requests.
C# Syntax:
void StartListening(
   object data
);
Parameters:

data

Optional initialization information.

Remarks
The data object can be used to pass specific initialization state to the channel.

Return to top


Method: StopListening(
   object data
)
Summary
Instructs the current channel to stop listening for requests.
C# Syntax:
void StopListening(
   object data
);
Parameters:

data

Optional state information for the channel.

Remarks
The data object can be used to pass the specific state to the channel.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.