Package org.rossonet.rpc.jline3
Class Jline3RpcEngine
- java.lang.Object
-
- org.rossonet.rpc.jline3.Jline3RpcEngine
-
-
Constructor Summary
Constructors Constructor Description Jline3RpcEngine()Jline3RpcEngine(java.util.Set<ShellSession> sessions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfireThrowable(java.lang.Throwable Exception)java.util.Collection<RpcCommand>getCommands()java.util.Collection<ShellSession>getSessions()voidkillSshShell(ShellSession session)voidregisterShellSession(ShellSession shellSession)
-
-
-
Constructor Detail
-
Jline3RpcEngine
public Jline3RpcEngine()
-
Jline3RpcEngine
public Jline3RpcEngine(java.util.Set<ShellSession> sessions)
-
-
Method Detail
-
fireThrowable
public void fireThrowable(java.lang.Throwable Exception)
- Specified by:
fireThrowablein interfaceRpcEngine
-
getCommands
public java.util.Collection<RpcCommand> getCommands()
- Specified by:
getCommandsin interfaceRpcEngine
-
getSessions
public java.util.Collection<ShellSession> getSessions()
- Specified by:
getSessionsin interfaceRpcEngine
-
killSshShell
public void killSshShell(ShellSession session)
- Specified by:
killSshShellin interfaceRpcEngine
-
registerShellSession
public void registerShellSession(ShellSession shellSession)
- Specified by:
registerShellSessionin interfaceRpcEngine
-
-