|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Client
Client-side representation of a client application connection to the RBNB server.
| Field Summary |
|---|
| Fields inherited from interface com.rbnb.api.ClientInterface |
|---|
CLIENT, FOREVER, MIRROR, PLUGIN |
| Method Summary | |
|---|---|
Object |
clone()
Clones this object. |
boolean |
isSynchronized()
Is this Client synchronized with the server? |
void |
start()
Starts this Client. |
void |
start(Client clientI)
Starts the specified Client. |
void |
start(Shortcut shortcutI)
Starts a shortcut connection. |
void |
stop()
Stops this Client. |
void |
stop(Client clientI)
Stops the Client. |
void |
stop(Server serverI)
Stops the local |
void |
stop(Shortcut shortcutI)
Stops the local Shortcut. |
void |
synchronizeWserver()
Synchronizes with the server. |
| Methods inherited from interface com.rbnb.api.ClientInterface |
|---|
getRemoteID, getType, isRunning, setRemoteID, setType, tryReconnect |
| Methods inherited from interface com.rbnb.api.RegisteredInterface |
|---|
getRegistered |
| Methods inherited from interface com.rbnb.api.RmapInterface |
|---|
addChild, compareNames, compareNames, compareTo, findChild, findDescendant, getFullName, getName, getParent, removeChild, removeChildAt, setName, toString, toString |
| Methods inherited from interface com.rbnb.api.UsernameInterface |
|---|
getUsername, setUsername |
| Method Detail |
|---|
Object clone()
This same abstract declaration is also included in RmapInterface.java, but for some unknown reason J# gives a compiler error if it is not also included here.
clone in interface ClientInterfaceclone in interface RmapInterfaceCloneableboolean isSynchronized()
Client synchronized with the server?
void start()
throws AddressException,
SerializeException,
EOFException,
InterruptedIOException,
IOException,
InterruptedException
Client.
This method ensures that the name of this object and the name of the
Server that is running this Client are set
correctly.
The Client's parent Server object's name is
set equal to the name of the RBNB server that is running the handler for
this Client.
The name of the Client object is set equal to the name
given to the handler in the RBNB server. This name is one of:
Client object originally,
AddressException - thrown if there is an addressing problem.
SerializeException - thrown if there is a problem with the serialization.
EOFException - thrown if the end of the input stream is reached.
InterruptedIOException - thrown if this operation is interrupted during I/O.
IOException - thrown if there is an error during I/O.
IllegalStateException - thrown if:
Client has not been connected
to a server,Client is already running.
InterruptedException - thrown if the start is interrupted.stop()
void start(Client clientI)
throws AddressException,
SerializeException,
EOFException,
InterruptedIOException,
IOException,
InterruptedException
Client.
clientI - the Client.
AddressException - thrown if there is an addressing problem.
SerializeException - thrown if there is a problem with the serialization.
EOFException - thrown if the end of the input stream is reached.
InterruptedIOException - thrown if this operation is interrupted during I/O.
IOException - thrown if there is an error during I/O.
InterruptedException - thrown if this operation is interrupted.stop(com.rbnb.api.Client)
void start(Shortcut shortcutI)
throws AddressException,
SerializeException,
EOFException,
InterruptedIOException,
IOException,
InterruptedException
shortcutI - the Shortcut.
AddressException - thrown if there is an addressing problem.
SerializeException - thrown if there is a problem with the serialization.
EOFException - thrown if the end of the input stream is reached.
InterruptedIOException - thrown if this operation is interrupted during I/O.
IOException - thrown if there is an error during I/O.
InterruptedException - thrown if this operation is interrupted.stop(com.rbnb.api.Server)
void stop()
throws AddressException,
SerializeException,
EOFException,
InterruptedIOException,
IOException,
InterruptedException
Client.
AddressException - thrown if there is an addressing problem.
SerializeException - thrown if there is a problem with the serialization.
EOFException - thrown if the end of the input stream is reached.
java.lang.InterruptedIOException - thrown if this operation is interrupted.
IOException - thrown if there is an error during I/O.
IllegalStateException - thrown if:
Client has not been connected
to a server,Client is already running.
InterruptedIOException
InterruptedExceptionstart()
void stop(Client clientI)
throws AddressException,
SerializeException,
InterruptedIOException,
IOException,
InterruptedException
Client.
clientI - the Client.
AddressException - thrown if there is an addressing problem.
SerializeException - thrown if there is a problem with the
Serialization.
java.lang.InterruptedIOException - thrown if this operation is interrupted.
IOException - thrown if there is a I/O problem.
InterruptedException - thrown if this operation is interrupted.
InterruptedIOExceptionstart(com.rbnb.api.Client)
void stop(Server serverI)
throws AddressException,
SerializeException,
InterruptedIOException,
IOException,
InterruptedException
serverI - the Server.
AddressException - thrown if there is an addressing problem.
SerializeException - thrown if there is a problem with the
Serialization.
java.lang.InterruptedIOException - thrown if this operation is interrupted.
IOException - thrown if there is a I/O problem.
InterruptedException - thrown if this operation is interrupted.
InterruptedIOException
void stop(Shortcut shortcutI)
throws AddressException,
SerializeException,
InterruptedIOException,
IOException,
InterruptedException
Shortcut.
shortcutI - the Shortcut.
AddressException - thrown if there is an addressing problem.
SerializeException - thrown if there is a problem with the
Serialization.
java.lang.InterruptedIOException - thrown if this operation is interrupted.
IOException - thrown if there is a I/O problem.
InterruptedException - thrown if this operation is interrupted.
InterruptedIOException
void synchronizeWserver()
throws AddressException,
SerializeException,
InterruptedIOException,
IOException,
InterruptedException
AddressException - thrown if there is a problem with an address.
SerializeException - thrown if there is a problem with the
Serialization.
IOException - thrown if there is a I/O problem.
InterruptedException - thrown if this operation is interrupted.
IllegalStateException - thrown if:
Client has not been connected
to a server,Client is not running.
InterruptedException - thrown if the synchronization is interrupted.
InterruptedIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||