org.mule.transport.tcp
Class TcpSocketsPoolTestCase.MockTcpProtocol

java.lang.Object
  extended by org.mule.transport.tcp.TcpSocketsPoolTestCase.MockTcpProtocol
All Implemented Interfaces:
TcpProtocol
Enclosing class:
TcpSocketsPoolTestCase

public static class TcpSocketsPoolTestCase.MockTcpProtocol
extends Object
implements TcpProtocol


Constructor Summary
TcpSocketsPoolTestCase.MockTcpProtocol()
           
 
Method Summary
 ResponseOutputStream createResponse(Socket socket)
           
 Object read(InputStream is)
           
 void write(OutputStream os, Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpSocketsPoolTestCase.MockTcpProtocol

public TcpSocketsPoolTestCase.MockTcpProtocol()
Method Detail

createResponse

public ResponseOutputStream createResponse(Socket socket)
                                    throws IOException
Specified by:
createResponse in interface TcpProtocol
Throws:
IOException

read

public Object read(InputStream is)
            throws IOException
Specified by:
read in interface TcpProtocol
Throws:
IOException

write

public void write(OutputStream os,
                  Object data)
           throws IOException
Specified by:
write in interface TcpProtocol
Throws:
IOException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.