public class StdoutMsgListener extends java.lang.Object implements IpssMsgListener
Constructor and Description |
---|
StdoutMsgListener()
Constructor.
|
StdoutMsgListener(byte level)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
onMsgEvent(IpssMessage msg)
Implementation of the onMsgEvent method.
|
boolean |
onMsgEventStatus(IpssMessage msg)
process the msg
|
void |
setLevel(byte l)
set logger level
|
public StdoutMsgListener()
level
- the msg output levelpublic StdoutMsgListener(byte level)
level
- public void setLevel(byte l)
l
- public void onMsgEvent(IpssMessage msg)
onMsgEvent
in interface IpssMsgListener
msg
- the msg objectpublic boolean onMsgEventStatus(IpssMessage msg)
onMsgEventStatus
in interface IpssMsgListener
msg
-