APISonar


org.neo4j.coreedge.server.logging.MessageLogger.log

> org > neo4j > coreedge > server > logging > MessageLogger > log
org APIs neo4j APIs coreedge APIs server APIs logging APIs MessageLogger APIs log APIs

Example 1
private final MessageLogger<AdvertisedSocketAddress> messageLogger;

    public void registerHandler( final MessageHandler handler )
    {
        inbound.registerHandler( new MessageHandler()
        {
            public synchronized void handle( Serializable message )
            {
                messageLogger.log( me, message );
                handler.handle( message );
            }
        } );
    }
Example 2
private final MessageLogger<MEMBER> messageLogger;

    public void send( MEMBER to, Serializable... messages )
    {
        messageLogger.log( me, to, messages );
        outbound.send( to, messages );
    }