org.curjent.test.agent.asmify
Class CopyProxy

java.lang.Object
  extended by org.curjent.impl.agent.Proxy
      extended by org.curjent.test.agent.asmify.CopyProxy
All Implemented Interfaces:
Copy

public final class CopyProxy
extends Proxy
implements Copy


Field Summary
private  CallInfo call0
           
private  CallInfo call1
           
private  CallInfo call2
           
private  CallInfo call3
           
private  CallInfo call4
           
private  CallInfo call5
           
private  CallInfo call6
           
private  CallInfo call7
           
 
Fields inherited from class org.curjent.impl.agent.Proxy
controller
 
Constructor Summary
CopyProxy(Controller controller, CallInfo[] calls)
           
 
Method Summary
 void copy(String source, String target)
           
 int count()
           
 boolean exists(String source)
           
 Future file(String source)
           
 void flush(Runnable action)
           
 AgentCall length(File file)
           
 char read(long offset, int count)
           
 AgentCall status(String source)
           
 
Methods inherited from class org.curjent.impl.agent.Proxy
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

call0

private final CallInfo call0

call1

private final CallInfo call1

call2

private final CallInfo call2

call3

private final CallInfo call3

call4

private final CallInfo call4

call5

private final CallInfo call5

call6

private final CallInfo call6

call7

private final CallInfo call7
Constructor Detail

CopyProxy

public CopyProxy(Controller controller,
                 CallInfo[] calls)
Method Detail

copy

public void copy(String source,
                 String target)
Specified by:
copy in interface Copy

exists

public boolean exists(String source)
               throws IOException
Specified by:
exists in interface Copy
Throws:
IOException

length

public AgentCall length(File file)
Specified by:
length in interface Copy

file

public Future file(String source)
Specified by:
file in interface Copy

status

public AgentCall status(String source)
Specified by:
status in interface Copy

flush

public void flush(Runnable action)
Specified by:
flush in interface Copy

read

public char read(long offset,
                 int count)
Specified by:
read in interface Copy

count

public int count()
Specified by:
count in interface Copy


Copyright 2009-2011 Tom Landon
Apache License 2.0