Connecting to Network Devices Using TCP/IP
You can connect to external (JADE or non-JADE) systems from JADE by using Transmission Control Protocol / Internet Protocol (TCP/IP) as the transport provider.
By specifying the host connection details to TCP/IP, the transfer of information between JADE and an external system is achieved simply by applying methods that are implemented by the
The TcpIpConnection class also provides the JadeInternetTCPIPConnection subclass, which implements the interface defined by the TcpIpConnection class specifically for the Internet TCP/IP API. The methods defined in the
Method | Description |
---|---|
|
Initiates an asynchronous read of the opened TCP/IP connection |
|
Reads binary data from the Internet connection and returns when the specified number of bytes has been read or when a block of data is received |
|
Reads data from the Internet TCP/IP connection and returns when the specified length of data is read |
|
Performs Web session evaluation processing |
|
Sends the formatted HyperText Markup Language (HTML) page to the opened Internet TCP/IP connection |
|
Writes binary data to the Internet TCP/IP connection and returns when the operation is complete |