net.metanotion.rpc
Class SenderFactory

java.lang.Object
  extended by net.metanotion.rpc.SenderFactory
All Implemented Interfaces:
Unknown

public final class SenderFactory
extends java.lang.Object
implements Unknown


Constructor Summary
SenderFactory(IoSession session, java.util.List<java.lang.String> protocols)
           
SenderFactory(ObjectOutputStream<Message> session, java.util.List<java.lang.String> protocols)
           
 
Method Summary
<I> I
getInterface(java.lang.Class<I> theInterface)
          Return a proxy/representation of this object that is compatible with the requested interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenderFactory

public SenderFactory(ObjectOutputStream<Message> session,
                     java.util.List<java.lang.String> protocols)
              throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

SenderFactory

public SenderFactory(IoSession session,
                     java.util.List<java.lang.String> protocols)
              throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail

getInterface

public <I> I getInterface(java.lang.Class<I> theInterface)
Description copied from interface: Unknown
Return a proxy/representation of this object that is compatible with the requested interface.

Specified by:
getInterface in interface Unknown
Parameters:
theInterface - Java class object representing the interface you would like.
Returns:
an object which is an instance of the interface requested.