Top Description Fields Methods
org.apache.sshd.common

public Interface Service

extends SessionHolder<Session>, PropertyResolver, Closeable
Known Direct Subinterfaces
org.apache.sshd.common.session.ConnectionService
Known Direct Implementers
org.apache.sshd.server.session.ServerUserAuthService, org.apache.sshd.client.session.ClientUserAuthService
Imports
org.apache.sshd.common.session.Session, .SessionHolder, org.apache.sshd.common.util.buffer.Buffer

See RFC 4253 [SSH-TRANS] and the SSH_MSG_SERVICE_REQUEST packet. Examples include "ssh-userauth" and "ssh-connection" but developers are also free to implement their own custom service.
Author
Apache MINA SSHD Project

Field Summary

Inherited from org.apache.sshd.common.PropertyResolver:
EMPTY

Method Summary

Modifier and TypeMethod and Description
public default PropertyResolver
public void
process(int
The incoming command type
cmd
,
Buffer
The Buffer containing optional command parameters
buffer
)

Service the request.

public void
Inherited from org.apache.sshd.common.Closeable:
addCloseFutureListenerclosecloseclosegetMaxCloseWaitTimeisClosedisClosingisOpenremoveCloseFutureListener
Inherited from org.apache.sshd.common.PropertyResolver:
getBooleangetBooleanPropertygetCharsetgetIntegergetIntPropertygetLonggetLongPropertygetObjectgetPropertiesgetStringgetStringPropertyisEmptyisEmpty
Inherited from org.apache.sshd.common.session.SessionHolder:
getSessiongetSessionContext

Method Detail

getParentPropertyResolverback to summary
public default PropertyResolver getParentPropertyResolver()

Implements org.apache.sshd.common.PropertyResolver.getParentPropertyResolver.

Returns:PropertyResolver

Doc from org.apache.sshd.common.PropertyResolver.getParentPropertyResolver.

The parent resolver that can be used to query for missing properties - null if no parent

Annotations
@Override
processback to summary
public void process(int cmd, Buffer buffer) throws Exception

Service the request.

Parameters
cmd:int

The incoming command type

buffer:Buffer

The Buffer containing optional command parameters

Exceptions
Exception:
If failed to process the command
startback to summary
public void start()