com.udpwork.ssdb
Class Link

java.lang.Object
  extended by com.udpwork.ssdb.Link

public class Link
extends Object


Constructor Summary
Link(String host, int port)
           
Link(String host, int port, int timeout_ms)
           
 
Method Summary
 void close()
           
 Response request(String cmd, byte[]... params)
           
 Response request(String cmd, List<byte[]> params)
           
 Response request(String cmd, String... params)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Link

public Link(String host,
            int port)
     throws Exception
Throws:
Exception

Link

public Link(String host,
            int port,
            int timeout_ms)
     throws Exception
Throws:
Exception
Method Detail

close

public void close()

request

public Response request(String cmd,
                        byte[]... params)
                 throws Exception
Throws:
Exception

request

public Response request(String cmd,
                        String... params)
                 throws Exception
Throws:
Exception

request

public Response request(String cmd,
                        List<byte[]> params)
                 throws Exception
Throws:
Exception