jxl.peermi
Class PeerSocketFactory
java.lang.Object
jxl.peermi.PeerSocketFactory
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory
public class PeerSocketFactory
- extends java.lang.Object
- implements java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory, java.io.Serializable
PeerSocketFactory is the magical center of Peermi. PeerSocketFactory uses
p2psockets to bridge the gap that has
seperated RMI and Jxta.
- Author:
- Alex Lynch
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PeerSocketFactory
public PeerSocketFactory()
- Creates a new instance of P2SocketFactory
createServerSocket
public java.net.ServerSocket createServerSocket(int param)
throws java.io.IOException
- Specified by:
createServerSocket
in interface java.rmi.server.RMIServerSocketFactory
- Throws:
java.io.IOException
createSocket
public java.net.Socket createSocket(java.lang.String str,
int param)
throws java.io.IOException
- Specified by:
createSocket
in interface java.rmi.server.RMIClientSocketFactory
- Throws:
java.io.IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object