Uploaded image for project: 'Etch'
  1. Etch
  2. ETCH-31

MySessionListener in TcpTransportFactory does not override toString() method to show something useful about the transport stack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.0, 1.0.1
    • 1.0.2
    • None

    Description

      MySessionListener in TcpTransportFactory does not override toString() method. so when the listener is created in MainBlahListener class, printing it doesn't show anything useful:

      listener started: etch.bindings.java.transport.TcpTransportFactory$MySessionListener@e89b94

      would be nice if it showed something more useful such as what interface/port it was listening on.

      same problem with csharp. patch included and tested.

      Attachments

        1. listener_tostring_cs_patch.txt
          0.7 kB
          Robert Scott Comer
        2. listener_tostring_patch.txt
          0.6 kB
          Robert Scott Comer

        Activity

          People

            sccomer Robert Scott Comer
            sccomer Robert Scott Comer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: