Package org.discoproject.worker.protocol.encoder

Examples of org.discoproject.worker.protocol.encoder.RequestInputsEncoder


    assertEquals("PING 2 \"\"\n", encodedString);
  }

  @Test
  public void testRequestInputsEncoder() {
    final RequestInputsEncoder encoder = new RequestInputsEncoder();
    final String encodedString = encoder.toString();

    assertEquals("INPUT 2 \"\"\n", encodedString);
  }
View Full Code Here


  public DiscoTaskInputFetcher(final DiscoIOChannel discoIOChannel, final int discoPort) {
    this.discoIOChannel = discoIOChannel;
    this.inputs = new LinkedList<ReadableByteChannel>();
    this.discoPort = discoPort;

    this.requestInputEncoder = new RequestInputsEncoder();
    this.inputErrorEncoder = new InputErrorEncoder();
  }
View Full Code Here

TOP

Related Classes of org.discoproject.worker.protocol.encoder.RequestInputsEncoder

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.