Class SocketNode

  • All Implemented Interfaces:
    java.lang.Runnable

    public class SocketNode
    extends java.lang.Object
    implements java.lang.Runnable
    Read IAccessEvent objects sent from a remote client using Sockets (TCP). These logging events are logged according to local policy, as if they were generated locally.

    For example, the socket node might decide to log events to a local file and also resent them to a second socket node.

    Since:
    0.8.4
    Author:
    Ceki Gülcü, Sébastien Pennec
    • Constructor Summary

      Constructors 
      Constructor Description
      SocketNode​(java.net.Socket socket, AccessContext context)  
    • Method Summary

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

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

      • SocketNode

        public SocketNode​(java.net.Socket socket,
                          AccessContext context)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable