public class Client extends Object
Server and checks
the response.
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
MultiStringFilter - translates Buffer <-> List<String>
MultiLineFilter - translates List<String> <-> MultiLinePacket (see 1)
ClientAuthFilter - checks, if client is authenticated. If not - initialize client authentication, and only then sends the message.
ClientFilter - client filter, which gets server echo and prints it out.| Constructor and Description |
|---|
Client() |
Copyright © 2018 Oracle Corporation. All Rights Reserved.