org.apache.ftpserver.remote.adapter
Class SpyConnectionAdapter

java.lang.Object
  extended byorg.apache.ftpserver.remote.adapter.SpyConnectionAdapter
All Implemented Interfaces:
SpyConnectionInterface

public class SpyConnectionAdapter
extends java.lang.Object
implements SpyConnectionInterface

This remote spy user adapter.


Constructor Summary
SpyConnectionAdapter(SpyConnectionInterface spy)
          Default constructor.
 
Method Summary
 SpyConnectionInterface getSpyObject()
          Get spy user
 void request(java.lang.String msg)
          Write user request.
 void response(java.lang.String msg)
          Write server response.
 void setSpyObject(SpyConnectionInterface spy)
          Get spy user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpyConnectionAdapter

public SpyConnectionAdapter(SpyConnectionInterface spy)
Default constructor.

Method Detail

getSpyObject

public SpyConnectionInterface getSpyObject()
Get spy user


setSpyObject

public void setSpyObject(SpyConnectionInterface spy)
Get spy user


request

public void request(java.lang.String msg)
             throws java.io.IOException
Write user request.

Specified by:
request in interface SpyConnectionInterface
Throws:
java.io.IOException

response

public void response(java.lang.String msg)
              throws java.io.IOException
Write server response.

Specified by:
response in interface SpyConnectionInterface
Throws:
java.io.IOException


Copyright © -2005 . All Rights Reserved.