Note that these examples do not follow proper data isolation practices! Most/all fields are marked public in order to allow easy integration testing. This ensures the examples all run, but does not make proper coding practice. When using these samples in your own code, please ensure that the fields are properly marked as private, protected or default scope.
The examples are client/server pairs based on a certain topics. The topics covered are:
AuthenticatedEchoClient | Connects to the echo server and sends messages to be echoed back. |
AuthenticatedEchoServer | A simple authenticated server, using a static authentication algorithm. |
AutoConfiguredServer | Shows how to use automatic configuration to simplify client connections using the new Trap 1.2 API. |
ConfiguredClient | Similar to the configured server, this sample shows how to tweak a client's configuration. |
ConfiguredServer | This example focuses on tweaking a server's configuration. |
DelegateEchoClient | Implements the echo client by setting multiple independent delegate objects instead. |
EchoClient | Connects to the echo server and sends messages to be echoed back. |
EchoServer | This example provides a simple echo server. |
MultiplexedClient | Showcases how to use Trap Channels to send multiple data flows at the same time. |
MultiplexedServer | A server capable of echoing to the MultiplexedClient. |
TLSEchoServer | This example provides a simple echo server. |
TLSInsecureEchoClient | Connects to the echo server and sends messages to be echoed back. |
TLSInsecureEchoServer | This example provides a simple echo server. |