se.sics.jipv6.core
Class TCPConnection
java.lang.Object
se.sics.jipv6.core.TCPConnection
public class TCPConnection
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLOSED
public static final int CLOSED
- See Also:
- Constant Field Values
LISTEN
public static final int LISTEN
- See Also:
- Constant Field Values
SYN_SENT
public static final int SYN_SENT
- See Also:
- Constant Field Values
SYN_RECEIVED
public static final int SYN_RECEIVED
- See Also:
- Constant Field Values
ESTABLISHED
public static final int ESTABLISHED
- See Also:
- Constant Field Values
CLOSE_WAIT
public static final int CLOSE_WAIT
- See Also:
- Constant Field Values
LAST_ACK
public static final int LAST_ACK
- See Also:
- Constant Field Values
FIN_WAIT_1
public static final int FIN_WAIT_1
- See Also:
- Constant Field Values
FIN_WAIT_2
public static final int FIN_WAIT_2
- See Also:
- Constant Field Values
CLOSING
public static final int CLOSING
- See Also:
- Constant Field Values
TIME_WAIT
public static final int TIME_WAIT
- See Also:
- Constant Field Values
TIME_WAIT_MILLIS
public static final long TIME_WAIT_MILLIS
- See Also:
- Constant Field Values
getInputStream
public InputStream getInputStream()
getOutputStream
public OutputStream getOutputStream()
setTCPListener
public void setTCPListener(TCPListener listener)
newConnection
public void newConnection(TCPConnection c)
matches
public boolean matches(IPv6Packet packet,
TCPPacket tcpPacket)
send
public void send(TCPPacket tcpPacket)
throws IOException
- Throws:
IOException
send
public void send(byte[] bytes)
throws IOException
- Throws:
IOException
close
public void close()
createPacket
public TCPPacket createPacket()
setTimeout
public void setTimeout(int tms)