|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.transport.ntcp.EstablishState
public class EstablishState
Constructor Summary | |
---|---|
EstablishState(RouterContext ctx,
NTCPTransport transport,
NTCPConnection con)
|
Method Summary | |
---|---|
static void |
checkHost(java.lang.String[] args)
|
boolean |
confirmWritten()
we have written all of the data required to confirm the connection establishment |
java.lang.String |
getError()
|
java.lang.Exception |
getException()
|
byte[] |
getExtraBytes()
if complete, this will contain any bytes received as part of the handshake that were after the actual handshake. |
boolean |
getFailedBySkew()
|
boolean |
isComplete()
|
boolean |
isCorrupt()
did the handshake fail for some reason? |
static void |
main(java.lang.String[] args)
|
void |
prepareOutbound()
we are establishing an outbound connection, so prepare ourselves by queueing up the write of the first part of the handshake |
void |
receive(java.nio.ByteBuffer src)
parse the contents of the buffer as part of the handshake. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EstablishState(RouterContext ctx, NTCPTransport transport, NTCPConnection con)
Method Detail |
---|
public void receive(java.nio.ByteBuffer src)
public boolean confirmWritten()
public boolean getFailedBySkew()
public boolean isCorrupt()
public boolean isComplete()
public void prepareOutbound()
public byte[] getExtraBytes()
public java.lang.String getError()
public java.lang.Exception getException()
public java.lang.String toString()
toString
in class java.lang.Object
public static void checkHost(java.lang.String[] args)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |