|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RMIServer
RMI interface for obtaining an instance of an
RMIConnection. An implementation of this
interface exists for each RMI connector.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||