Class CallbackServer

java.lang.Object
com.sshtools.server.AbstractSshServer
com.sshtools.server.callback.CallbackServer
All Implemented Interfaces:
Closeable, AutoCloseable

public class CallbackServer extends AbstractSshServer
An abstract server that provides a callback facility, listening on a port and acting as a client to any callback clients that connect to it. The callback client similarly acts as a server allowing this server to perform operations on the remote client. The server also has the facility to act as a normal server. Switching modes depending on the client identifier provided by the SSH client.