public class AgentForwardSupport extends AbstractCloseable
AbstractCloseable.State
closeFuture, lock, state
log
Constructor and Description |
---|
AgentForwardSupport(ConnectionService service) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
doCloseImmediately()
doCloseImmediately is called once and only once
with state == Immediate
|
String |
initialize() |
String |
toString() |
builder, close, doCloseGracefully, isClosed, isClosing, preClose
isOpen
public AgentForwardSupport(ConnectionService service)
public String initialize() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
close
in class IoBaseCloseable
IOException
protected void doCloseImmediately()
AbstractCloseable
doCloseImmediately is called once and only once with state == Immediate
Overriding methods should always call the base implementation. It may be called concurrently while preClose() or doCloseGracefully is executing
doCloseImmediately
in class AbstractCloseable
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.