Class LoggingReceiver.Slurper

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    LoggingReceiver

    private class LoggingReceiver.Slurper
    extends java.lang.Object
    implements java.lang.Runnable
    Helper that actually processes a client connection. It receives events and adds them to the supplied model.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.net.Socket mClient
      socket connection to read events from
    • Constructor Summary

      Constructors 
      Constructor Description
      Slurper​(java.net.Socket aClient)
      Creates a new Slurper instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      loops getting the events
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mClient

        private final java.net.Socket mClient
        socket connection to read events from
    • Constructor Detail

      • Slurper

        Slurper​(java.net.Socket aClient)
        Creates a new Slurper instance.
        Parameters:
        aClient - socket to receive events from
    • Method Detail

      • run

        public void run()
        loops getting the events
        Specified by:
        run in interface java.lang.Runnable