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
As you can create a TcpIpConnection object as a shared transient object, you can pass it to another JADE process on the same JADE node, if required.
When using 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.