public class SynapseDebugInterface extends Object
Constructor and Description |
---|
SynapseDebugInterface() |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection()
Closes the communication and event channels
|
void |
createDebugChannels(int listenPortParam,
int sendPortParam) |
static SynapseDebugInterface |
getInstance() |
ServerSocket |
getOpenedPortListen() |
ServerSocket |
getOpenedPortSend() |
BufferedReader |
getPortListenReader() |
PrintWriter |
getPortListenWriter() |
PrintWriter |
getPortSendWriter() |
void |
init(int listenPortParam,
int sendPortParam)
Initializes the communication command and event channels asynchronously.
|
void |
setUncaughtException(Exception ex) |
public void init(int listenPortParam, int sendPortParam) throws InterruptedException, IOException
listenPortParam
- command port numbersendPortParam
- event port numberInterruptedException
IOException
public void createDebugChannels(int listenPortParam, int sendPortParam) throws IOException
IOException
public static SynapseDebugInterface getInstance()
public void closeConnection()
public ServerSocket getOpenedPortListen()
public ServerSocket getOpenedPortSend()
public PrintWriter getPortSendWriter()
public BufferedReader getPortListenReader()
public PrintWriter getPortListenWriter()
public void setUncaughtException(Exception ex)
Copyright © 2005–2024 Apache Software Foundation. All rights reserved.