public interface RMIServer extends java.rmi.Remote
RMIConnection. An implementation of this
interface exists for each RMI connector.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getVersion()
Returns the version of the RMI connection protocol used
by this server.
|
RMIConnection |
newClient(java.lang.Object credentials)
Constructs and returns a new RMI connection using the specified
authentication credentials.
|
java.lang.String getVersion() throws java.rmi.RemoteException
1.0) and "GNU Classpath" followed by the version
of GNU Classpath in use.java.rmi.RemoteException - if there is a problem with the transfer
of the string via RMI.RMIConnection newClient(java.lang.Object credentials) throws java.io.IOException
credentials - a user-defined object passed to the server
to authenticate the client. May be null.java.io.IOException - if the new connection can not be created or
exported, or an error occurs in the RMI transmission.java.lang.SecurityException - if the client could not be authenticated
correctly using the supplied credientials.