jPOS 1.6.1 API Documentation

org.jpos.util
Class LogEvent

java.lang.Object
  extended by org.jpos.util.LogEvent

public class LogEvent
extends java.lang.Object

Version:
$Id: LogEvent.java 2594 2008-01-22 16:41:31Z apr $
Author:
apr@cs.com.uy

Field Summary
 java.util.Vector payLoad
           
 java.lang.String tag
           
 
Constructor Summary
LogEvent()
           
LogEvent(LogSource source, java.lang.String tag)
           
LogEvent(LogSource source, java.lang.String tag, java.lang.Object msg)
           
LogEvent(java.lang.String tag)
           
LogEvent(java.lang.String tag, java.lang.Object msg)
           
 
Method Summary
 void addMessage(java.lang.Object msg)
           
 void addMessage(java.lang.String tagname, java.lang.String message)
           
 void dump(java.io.PrintStream p, java.lang.String outer)
           
 java.util.Vector getPayLoad()
           
 java.lang.String getRealm()
           
 LogSource getSource()
           
 void setSource(LogSource source)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tag

public java.lang.String tag

payLoad

public java.util.Vector payLoad
Constructor Detail

LogEvent

public LogEvent()

LogEvent

public LogEvent(java.lang.String tag)

LogEvent

public LogEvent(java.lang.String tag,
                java.lang.Object msg)

LogEvent

public LogEvent(LogSource source,
                java.lang.String tag)

LogEvent

public LogEvent(LogSource source,
                java.lang.String tag,
                java.lang.Object msg)
Method Detail

addMessage

public void addMessage(java.lang.Object msg)

addMessage

public void addMessage(java.lang.String tagname,
                       java.lang.String message)

getSource

public LogSource getSource()
Returns:
log source (may be null)

setSource

public void setSource(LogSource source)
Parameters:
source - a LogSource

dump

public void dump(java.io.PrintStream p,
                 java.lang.String outer)

getRealm

public java.lang.String getRealm()

getPayLoad

public java.util.Vector getPayLoad()

toString

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

jPOS.org