Naanou.LookupService
Class NClientSinkProvider

A custom channel sink provider. Embeds addressing details into requests.

Embeds the following values in the remoting headers Code base by Ingo Rammer (http://www.dotnetremoting.cc/) Key - Value

  • AddrId - Naanou id for node
  • AddrUrl - Access URL
  • AddrNet - Network id
  • Field Summary
    System.Runtime.Remoting.Channels.IClientChannelSinkProvider next
    Naanou.LookupService.Node node

    Constructor Summary
    NClientSinkProvider(Naanou.LookupService.Node node)
             Constructor

    Property Summary
    System.Runtime.Remoting.Channels.IClientChannelSinkProvider Next
             Gets or sets the next sink provider in chain

    Method Summary
    System.Runtime.Remoting.Channels.IClientChannelSink CreateSink(System.Runtime.Remoting.Channels.IChannelSender channel, string url, object remoteChannelData)
             Creates sink
    void GetChannelData(System.Runtime.Remoting.Channels.IChannelDataStore channelData)
             Gets channel data

    Methods inherited from class System.Object
    Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


    Field Detail

    next

    private System.Runtime.Remoting.Channels.IClientChannelSinkProvider next


    node

    private Naanou.LookupService.Node node

    Constructor Detail

    NClientSinkProvider

    public NClientSinkProvider(Naanou.LookupService.Node node)

    Constructor

    Parameters:
    node - Address
    Property Detail

    Next

    public System.Runtime.Remoting.Channels.IClientChannelSinkProvider Next

    Gets or sets the next sink provider in chain

    Method Detail

    CreateSink

    public System.Runtime.Remoting.Channels.IClientChannelSink CreateSink(System.Runtime.Remoting.Channels.IChannelSender channel,
                                                                     string url,
                                                                     object remoteChannelData)

    Creates sink

    Parameters:
    channel - Channel
    url - Url
    remoteChannelData - Remote channel data
    Returns:
    Sink

    GetChannelData

    public void GetChannelData(System.Runtime.Remoting.Channels.IChannelDataStore channelData)

    Gets channel data

    Parameters:
    channelData - Data store