se.sics.jipv6.tunnel
Class TSPClient
java.lang.Object
se.sics.jipv6.tunnel.TSPClient
- All Implemented Interfaces:
- NetworkInterface
public class TSPClient
- extends Object
- implements NetworkInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
TSPClient
public TSPClient(String host)
throws SocketException,
UnknownHostException
- Throws:
SocketException
UnknownHostException
TSPClient
public TSPClient(String host,
String user,
String password)
throws SocketException,
UnknownHostException
- Throws:
SocketException
UnknownHostException
getName
public String getName()
- Specified by:
getName
in interface NetworkInterface
startTSPTunnel
public static TSPClient startTSPTunnel(IPStack ipStack,
String server,
String user,
String password)
setIPStack
public void setIPStack(IPStack ipStack)
- Specified by:
setIPStack
in interface NetworkInterface
isReady
public boolean isReady()
- Specified by:
isReady
in interface NetworkInterface
sendPacket
public void sendPacket(IPv6Packet packet)
- Specified by:
sendPacket
in interface NetworkInterface
startTSPTunnel
public static TSPClient startTSPTunnel(String server,
String user,
String password)
main
public static void main(String[] args)
throws UnknownHostException,
IOException
- Throws:
UnknownHostException
IOException
waitSetup
public boolean waitSetup()