|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransportProvider
This interface abstracts the transport layer's implementation.
| Method Summary | |
|---|---|
Connections |
getPoolFor(ServerAddress address)
Returns a client connection pool to the given server address. |
java.lang.String |
getTransportType()
Returns this instance's "transport type". |
Server |
newDefaultServer()
This method is called by Ubik RMI's runtime when a server is needed on the client side to recieve asynchronous responses (i.e.: callbacks). |
Server |
newServer(java.util.Properties props)
Returns a server implementation. |
void |
shutdown()
Shuts down this provider. |
| Method Detail |
|---|
Connections getPoolFor(ServerAddress address)
throws java.rmi.RemoteException
address - a ServerAddress.
Connection.
java.rmi.RemoteException - if a problem occurs creating the connection.
Server newServer(java.util.Properties props)
throws java.rmi.RemoteException
props - the Properties used to create the server.
Server instance.
java.rmi.RemoteException
Server newDefaultServer()
throws java.rmi.RemoteException
Server instance.
Server.
java.rmi.RemoteExceptionjava.lang.String getTransportType()
void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||