Package kilim.examples
Class Ping.Client
java.lang.Object
kilim.examples.Ping.Client
- Enclosing class:
Ping
The Client is a conventional Java socket application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidreadPkt(SocketChannel ch, ByteBuffer bb) static voidrun()private static voidwritePkt(SocketChannel ch, ByteBuffer bb)
-
Constructor Details
-
Client
public Client()
-
-
Method Details
-
run
- Throws:
IOException
-
readPkt
- Throws:
IOExceptionEOFException
-
writePkt
- Throws:
IOException
-