This commit is contained in:
Shikhar Bhushan
2010-03-07 21:26:19 +01:00
parent 5df7f6695a
commit fc5bf6cca0

View File

@@ -71,7 +71,7 @@ public interface Transport
void addHostKeyVerifier(HostKeyVerifier hkv); void addHostKeyVerifier(HostKeyVerifier hkv);
/** /**
* (Re)start key exchange and algorithm negotiation. * Do key exchange and algorithm negotiation. This can be the initial one or for algorithm renegotiation.
* *
* @throws TransportException if there was an error during key exchange * @throws TransportException if there was an error during key exchange
*/ */
@@ -113,6 +113,7 @@ public interface Transport
*/ */
String getServerVersion(); String getServerVersion();
/** @return the session identifier assigned by server */
byte[] getSessionID(); byte[] getSessionID();
/** @return the currently active {@link Service} instance. */ /** @return the currently active {@link Service} instance. */