Package io.socket

Examples of io.socket.IOAcknowledge


  public AcknowledgeExample() throws Exception {
    socket = new SocketIO();
    socket.connect("http://127.0.0.1:3001/", this);

    // Sends a string to the server.
    socket.send(new IOAcknowledge() {
      @Override
      public void ack(Object... args) {
        System.out.println("Server acknowledges this package.");
        for(Object o : args)
          System.out.println(o.toString());
View Full Code Here

TOP

Related Classes of io.socket.IOAcknowledge

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.