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