performancemonster.loghandler
Class LogSender

java.lang.Object
  extended by performancemonster.loghandler.LogSender

public class LogSender
extends java.lang.Object


Constructor Summary
LogSender()
           
 
Method Summary
 void close()
          Drop the connection to the remote host and release the underlying connector thread if it has been created
 void connect()
           
 void sendLogMessage(LogMessage object)
           
 void setPort(int port)
          The Port option takes a positive integer representing the port where the server is waiting for connections.
 void setRemoteHost(java.lang.String host)
          The RemoteHost option takes a string value which should be the host name of the server where a link org.apache.log4j.net.SocketNode is running.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogSender

public LogSender()
Method Detail

setRemoteHost

public void setRemoteHost(java.lang.String host)
The RemoteHost option takes a string value which should be the host name of the server where a link org.apache.log4j.net.SocketNode is running.


setPort

public void setPort(int port)
The Port option takes a positive integer representing the port where the server is waiting for connections.


sendLogMessage

public void sendLogMessage(LogMessage object)

close

public void close()
Drop the connection to the remote host and release the underlying connector thread if it has been created


connect

public void connect()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 Ole Friis. All Rights Reserved.