Package org.km3net.clb.remote
Class ConsoleBridge
- java.lang.Object
-
- org.km3net.clb.remote.ConsoleBridge
-
public class ConsoleBridge extends java.lang.Object
This class implements a proxy for console access. Instantiating this class starts a server on the provided ports and provided interface. It allows terminals to connect to local host.
-
-
Constructor Summary
Constructors Constructor Description ConsoleBridge(Control ctrl, java.net.InetAddress iface, int ptpPort, int secPort)
Starts a telnet proxy
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shutdown()
-
-
-
Constructor Detail
-
ConsoleBridge
public ConsoleBridge(Control ctrl, java.net.InetAddress iface, int ptpPort, int secPort) throws java.io.IOException, CommandException
Starts a telnet proxy- Parameters:
ctrl
- The control interfaceiface
- The netwerk adapter to bind the telnet server to, use null to bind to all local adapters.ptpPort
- The port for PTP communicationsecPort
- The port for the second Lm32.- Throws:
java.io.IOException
CommandException
-
-