j8583.example
Class ChannelServer
java.lang.Object
j8583.example.ChannelServer
- All Implemented Interfaces:
- Runnable
public class ChannelServer
- extends Object
- implements Runnable
This example uses java.nio instead of java.io to read and write the messages
to the clients.
- Author:
- Enrique Zamudio
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelServer
public ChannelServer(SocketChannel chan,
byte[] buf)
run
public void run()
- Specified by:
run
in interface Runnable
main
public static void main(String[] args)
throws Exception
- Throws:
Exception