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 java.lang.Object
implements TcpProtocol


Constructor Summary
TcpNamespaceHandlerTestCase.MockTcpProtocol()
           
 
Method Summary
 ResponseOutputStream createResponse(java.net.Socket socket)
           
 java.lang.Object read(java.io.InputStream is)
           
 void write(java.io.OutputStream os, java.lang.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(java.net.Socket socket)
                                    throws java.io.IOException
Specified by:
createResponse in interface TcpProtocol
Throws:
java.io.IOException

read

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

write

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


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