Class | Description |
---|---|
Client |
Client implementation, which sends a message to a
Server and checks
the response. |
ClientAuthFilter |
Client authentication filter, which intercepts client<->server communication,
and checks whether client connection has been authenticated.
|
ClientAuthFilter.ConnectionAuthInfo |
Single connection authentication info.
|
ClientFilter |
Simple filter, which prints out the server echo message.
|
MultiLineFilter | |
MultiLinePacket |
Packet, which contains multiple String lines.
|
Server |
Server implementation, which echoes message, only if client was authenticated :)
Client and server exchange String based messages:
(1)
MultiLinePacket = command
*(parameter LF)
LF
parameter = TEXT (ASCII)
Server filters are built in a following way:
TransportFilter - reads/writes data from/to network
StringFilter - translates Buffer <-> String. |
ServerAuthFilter |
Server authentication filter, which intercepts client<->server communication.
|
Copyright © 2014 Oracle Corporation. All rights reserved.