org.mule.transport.tcp
Class TcpNamespaceHandlerTestCase.MockTcpProtocol

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

public static class TcpNamespaceHandlerTestCase.MockTcpProtocol
extends Object
implements TcpProtocol


Constructor Summary
TcpNamespaceHandlerTestCase.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

TcpNamespaceHandlerTestCase.MockTcpProtocol

public TcpNamespaceHandlerTestCase.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.