Package org.discoproject.worker.protocol.encoder

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


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

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

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


    this.discoIOChannel = new DiscoIOChannel(readChannel, writeChannel, new DiscoWorkerDecoder().setListener(this));
    this.map = null;
    this.reduce = null;

    this.workerAnnounceEncoder = new WorkerAnnounceEncoder();
    this.requestTaskEncoder = new RequestTaskEncoder();
    this.outputEncoder = new OutputEncoder();
    this.doneEncoder = new DoneEncoder();
    this.errorEncoder = new ErrorEncoder();
    this.fatalEncoder = new FatalEncoder();
    this.messageEncoder = new MessageEncoder();
View Full Code Here

TOP

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

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.