Package com.google.code.hs4j.network.core.impl

Examples of com.google.code.hs4j.network.core.impl.WriteMessageImpl


    return message.getMessage();
  }

  @Override
  protected WriteMessage wrapMessage(Object msg, Future<Boolean> writeFuture) {
    WriteMessage message = new WriteMessageImpl(msg,
        (FutureImpl<Boolean>) writeFuture);
    if (message.getWriteBuffer() == null) {
      message.setWriteBuffer(encoder.encode(message.getMessage(), this));
    }
    return message;
  }
View Full Code Here

TOP

Related Classes of com.google.code.hs4j.network.core.impl.WriteMessageImpl

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.