net.stamfest.rrd
Class RRDp

java.lang.Object
  extended by net.stamfest.rrd.RRDp
All Implemented Interfaces:
RRDCommand

public class RRDp
extends Object
implements RRDCommand


Field Summary
static int SOCKET_TIMEOUT
           
 
Constructor Summary
RRDp(String host, int port)
           
RRDp(String basedir, String cachedAddress)
           
 
Method Summary
 CommandResult command(String[] cmd)
           
protected  void finalize()
           
 void finish()
           
protected  CommandResult sendCommand(String[] command)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOCKET_TIMEOUT

public static final int SOCKET_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

RRDp

public RRDp(String basedir,
            String cachedAddress)
     throws IOException
Throws:
IOException

RRDp

public RRDp(String host,
            int port)
     throws IOException
Throws:
IOException
Method Detail

sendCommand

protected CommandResult sendCommand(String[] command)
                             throws Exception
Throws:
Exception

finish

public void finish()
Specified by:
finish in interface RRDCommand

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

command

public CommandResult command(String[] cmd)
                      throws Exception
Specified by:
command in interface RRDCommand
Throws:
Exception


Copyright © 2010-2013. All Rights Reserved.