Top Fields Methods
org.apache.sshd.common.kex

public Interface KeyExchangeFactory

extends NamedResource
Imports
org.apache.sshd.common.NamedResource, org.apache.sshd.common.session.Session

Author
Apache MINA SSHD Project

Field Summary

Inherited from org.apache.sshd.common.NamedResource:
BY_NAME_COMPARATORNAME_EXTRACTOR

Method Summary

Modifier and TypeMethod and Description
public KeyExchange

Returns:

The KeyExchange instance to be used
createKeyExchange
(Session
The Session for which the factory is invoked
session
)

Inherited from org.apache.sshd.common.NamedResource:
findByNamefindFirstMatchByNamegetNamegetNameListgetNamesofNameremoveByNamesafeCompareByName

Method Detail

createKeyExchangeback to summary
public KeyExchange createKeyExchange(Session session) throws Exception
Parameters
session:Session

The Session for which the factory is invoked

Returns:KeyExchange

The KeyExchange instance to be used

Exceptions
Exception:
If failed to create