Package com.tryge.xocotl.util

Examples of com.tryge.xocotl.util.NopDecoder


public class ExampleClient implements Runnable {
  @Override
  public void run() {
    try {
      Socket socket = new Socket("localhost", ExampleServer.PORT);
      DuplexChannel channel = SocketChannels.getFactory().newSocketChannel(socket, new NopDecoder());
      channel.open();
      channel.sendAndForget(new ExampleMessage("1", "test"));
    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of com.tryge.xocotl.util.NopDecoder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.