marg.test.mockserver
Class MockServerLineIR

java.lang.Object
  extended by marg.test.mockserver.MockServerLineIR
All Implemented Interfaces:
java.lang.Runnable

public class MockServerLineIR
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
MockServerLineIR(int port)
           
 
Method Summary
 void copyContents(java.io.InputStream from, java.io.OutputStream to)
           
 java.lang.String getLastReceivedCmd()
           
static void main(java.lang.String[] args)
           
 void run()
           
 void sendFileContents(java.io.File file, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockServerLineIR

public MockServerLineIR(int port)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

getLastReceivedCmd

public java.lang.String getLastReceivedCmd()

main

public static void main(java.lang.String[] args)

sendFileContents

public void sendFileContents(java.io.File file,
                             java.io.OutputStream out)

copyContents

public void copyContents(java.io.InputStream from,
                         java.io.OutputStream to)