Using the TcpIpConnection Class

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 TcpIpConnection class is a subclass of the Connection class and is specifically for external communication through TCP/IP.

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 Connection class, note the following restrictions.