Within JADE, you establish a connection and send or receive data programmatically. The Connection class defines all of the methods that you require for external communications. The
The Connection class hides underlying implementation and transport-dependent details. Any exception conditions result in an exception of type
Connection objects must be transient. If an attempt is made to create a persistent
Asynchronous methods have a receiver object and a message (method name) specified as parameters. When the method completes, the specified (callback) method of the specified object is called. The callback method is assumed to match the signature required by the calling asynchronous method.
The
As the functionality of the
Asynchronous methods have a receiver object and a message (method name) specified as parameters. When the method (I/O) completes, the specified (callback) method of the object is called. The callback method must match the signature required by the calling asynchronous method.
Only one synchronous or asynchronous read operation can be in effect at each end of each instance of the pipe. Multiple asynchronous write operations can be in effect.
Opening the server end of the pipe waits until the other end of the pipe is connected. Opening the client end of the pipe fails immediately if the server end of the pipe has not been offered.