Package org.springframework.integration.x.ip.serializer

Examples of org.springframework.integration.x.ip.serializer.DataFrame


    if (this.streamChecked == null) {
      this.nio = inputStream.getClass().getName().endsWith("TcpNioConnection$ChannelInputStream");
      this.streamAccessor = new DirectFieldAccessor(inputStream);
      this.streamChecked = Boolean.TRUE;
    }
    DataFrame frame = null;
    BasicState state = this.getState(inputStream);
    if (state != null) {
      frame = state.getPendingFrame();
    }
    while (frame == null || (frame.getPayload() == null && frame.getBinary() == null)) {
      frame = doDeserialize(inputStream, frame);
      if (frame.getPayload() == null && frame.getBinary() == null) {
        state.setPendingFrame(frame);
      }
    }
    return frame;
  }
View Full Code Here

TOP

Related Classes of org.springframework.integration.x.ip.serializer.DataFrame

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.