|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.net.SocketConnectionFactory
org.sapia.ubik.rmi.server.transport.socket.SocketRmiConnectionFactory
public class SocketRmiConnectionFactory
Implements a factory of SocketRmiConnection instances.
| Field Summary |
|---|
| Fields inherited from class org.sapia.ubik.net.SocketConnectionFactory |
|---|
_clientSocketFactory, _loader |
| Constructor Summary | |
|---|---|
SocketRmiConnectionFactory()
Constructor for RMIConnectionFactory. |
|
| Method Summary | |
|---|---|
Connection |
newConnection(java.net.Socket sock)
Creates a new Connection around the given socket. |
Connection |
newConnection(java.lang.String host,
int port)
Returns a client Connection instance that connects to the
server at the given host and port. |
SocketRmiConnectionFactory |
setResetInterval(long resetInterval)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocketRmiConnectionFactory()
| Method Detail |
|---|
public SocketRmiConnectionFactory setResetInterval(long resetInterval)
SocketConnection.setResetInterval(long)
public Connection newConnection(java.net.Socket sock)
throws java.io.IOException
SocketConnectionFactory
newConnection in class SocketConnectionFactorySocketConnection.
java.io.IOExceptionSocketConnectionFactory.newConnection(Socket)
public Connection newConnection(java.lang.String host,
int port)
throws java.io.IOException
ConnectionFactoryConnection instance that connects to the
server at the given host and port.
newConnection in interface ConnectionFactorynewConnection in class SocketConnectionFactoryhost - the host to connect to.port - the port on which the server is listening at the given host.
java.io.IOException - if the connection instance could not be created.SocketConnectionFactory.newConnection(String, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||