public interface Connection
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this connection.
|
ServerAddress |
getServerAddress()
Returns "address" of the server with which this connection
communicates.
|
Object |
receive()
Receives an object from the server with which this connection
communicates.
|
void |
send(Object o)
Sends the given object to the server with which this connection
communicates.
|
void send(Object o) throws IOException, RemoteException
o - an Object.IOExceptionRemoteExceptionObject receive() throws IOException, ClassNotFoundException, RemoteException
Object.IOExceptionClassNotFoundExceptionRemoteExceptionvoid close()
ServerAddress getServerAddress()
ServerAddress.Copyright © 2012 Sapia OSS. All Rights Reserved.