public class ClientUserAuthServiceOld extends CloseableUtils.AbstractCloseable implements Service
ssh-auth
service.CloseableUtils.AbstractCloseable.State
Modifier and Type | Field and Description |
---|---|
protected Object |
lock |
protected org.slf4j.Logger |
log
Our logger
|
protected ClientSessionImpl |
session |
closeFuture, state
Constructor and Description |
---|
ClientUserAuthServiceOld(Session s) |
Modifier and Type | Method and Description |
---|---|
AuthFuture |
auth(UserAuth userAuth) |
ClientSessionImpl |
getSession() |
protected void |
preClose()
preClose is guaranteed to be called before doCloseGracefully or doCloseImmediately.
|
void |
process(byte cmd,
Buffer buffer)
Service the request.
|
void |
start() |
builder, close, doCloseGracefully, doCloseImmediately, isClosed, isClosing
protected final org.slf4j.Logger log
protected final ClientSessionImpl session
protected final Object lock
public ClientUserAuthServiceOld(Session s)
public ClientSessionImpl getSession()
getSession
in interface Service
public void process(byte cmd, Buffer buffer) throws Exception
Service
protected void preClose()
CloseableUtils.AbstractCloseable
preClose
in class CloseableUtils.AbstractCloseable
public AuthFuture auth(UserAuth userAuth) throws IOException
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.