Class SynapseDebugInterface


  • public class SynapseDebugInterface
    extends Object
    This is the main class that handles communication channels to the outside debugger. Mainly handles connection creation to receive and send debug commands and to send debug related events to the outside debugger. Channel creation happens asynchronously in a separate thread, but initialization of ESB server runtime ( mediation initializer ) is paused until a successful creation of communication channel.
    • Constructor Detail

      • SynapseDebugInterface

        public SynapseDebugInterface()
    • Method Detail

      • createDebugChannels

        public void createDebugChannels​(int listenPortParam,
                                        int sendPortParam)
                                 throws IOException
        Throws:
        IOException
      • closeConnection

        public void closeConnection()
        Closes the communication and event channels
      • getOpenedPortListen

        public ServerSocket getOpenedPortListen()
      • getOpenedPortSend

        public ServerSocket getOpenedPortSend()
      • getPortSendWriter

        public PrintWriter getPortSendWriter()
      • getPortListenWriter

        public PrintWriter getPortListenWriter()
      • setUncaughtException

        public void setUncaughtException​(Exception ex)