|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.handshaking.AuthenticationHandshakeResponder
com.limegroup.gnutella.handshaking.UltrapeerHandshakeResponder
A very simple responder to be used by ultrapeers during the connection handshake while accepting incoming connections
Field Summary |
Fields inherited from class com.limegroup.gnutella.handshaking.AuthenticationHandshakeResponder |
_manager, RECORD_STATS |
Constructor Summary | |
UltrapeerHandshakeResponder(java.lang.String host)
Creates a new instance of ClientHandshakeResponder |
Method Summary | |
protected HandshakeResponse |
respondUnauthenticated(HandshakeResponse response,
boolean outgoing)
Returns the corresponding handshake to be sent to the remote host when responding to the connection handshake response received. |
Methods inherited from class com.limegroup.gnutella.handshaking.AuthenticationHandshakeResponder |
getRemoteIP, respond |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UltrapeerHandshakeResponder(java.lang.String host)
host
- The host with whom we are handshakingMethod Detail |
protected HandshakeResponse respondUnauthenticated(HandshakeResponse response, boolean outgoing) throws java.io.IOException
AuthenticationHandshakeResponder
respondUnauthenticated
in class AuthenticationHandshakeResponder
response
- The response received from the host on the
other side of the connection.outgoing
- whether the connection to the remote host
is an outgoing connection.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |