Package org.jgroups.blocks.cs
Interface Client
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isConnected()
Address
localAddress()
Address
remoteAddress()
void
send(byte[] data, int offset, int length)
Sends data to the remote server.void
send(java.nio.ByteBuffer data)
Sends data to the remote server.
-
-
-
Method Detail
-
localAddress
Address localAddress()
-
remoteAddress
Address remoteAddress()
-
isConnected
boolean isConnected()
-
send
void send(byte[] data, int offset, int length) throws java.lang.Exception
Sends data to the remote server. The server's address must have been set before.- Throws:
java.lang.Exception
-
send
void send(java.nio.ByteBuffer data) throws java.lang.Exception
Sends data to the remote server. The server's address must have been set before.- Throws:
java.lang.Exception
-
-