Naanou.LookupService
Class NServerSinkProvider

Provides address-based authentication, and verifies the NodeAddress details the client sends

Embeds the following in the System.Runtime.Remoting.Messaging.CallContext of the remoting invocation. Code base by Ingo Rammer (http://www.dotnetremoting.cc/). Key - Value

  • ClientIPAddress - Dotted-quad form of the client's IP address
  • Client - Naanou.Common.BasicAddress form of the client's address
  • Field Summary
    System.Runtime.Remoting.Channels.IServerChannelSinkProvider next

    Constructor Summary
    NServerSinkProvider(System.Collections.IDictionary properties, System.Collections.ICollection providerData)
             Constructor

    Property Summary
    System.Runtime.Remoting.Channels.IServerChannelSinkProvider Next
             Gets or sets next provider

    Method Summary
    System.Runtime.Remoting.Channels.IServerChannelSink CreateSink(System.Runtime.Remoting.Channels.IChannelReceiver channel)
             Creates a 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.IServerChannelSinkProvider next

    Constructor Detail

    NServerSinkProvider

    public NServerSinkProvider(System.Collections.IDictionary properties,
                               System.Collections.ICollection providerData)

    Constructor

    Parameters:
    properties - Properties for provider
    providerData - Data
    Property Detail

    Next

    public System.Runtime.Remoting.Channels.IServerChannelSinkProvider Next

    Gets or sets next provider

    Method Detail

    CreateSink

    public System.Runtime.Remoting.Channels.IServerChannelSink CreateSink(System.Runtime.Remoting.Channels.IChannelReceiver channel)

    Creates a sink

    Parameters:
    channel - Receiver
    Returns:
    Sink

    GetChannelData

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

    Gets channel data

    Parameters:
    channelData - Data