|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.common.DebugLogger
public class DebugLogger
Connect monitor prints to logger server's connect and secure channel events. Example: UABinding binding; binding.addConnectionListener(new ConnectMonitor());
| Constructor Summary | |
|---|---|
DebugLogger(org.slf4j.Logger logger)
Constructor for DebugLogger. |
|
| Method Summary | |
|---|---|
void |
onClose(Object sender,
ServerConnection connection)
|
void |
onConnect(Object sender,
ServerConnection connection)
|
void |
onSecureChannelAttached(Object sender,
ServerSecureChannel channel)
|
void |
onSecureChannelDetached(Object sender,
ServerSecureChannel channel)
|
void |
onStateTransition(IStatefulObject<CloseableObjectState,?> sender,
CloseableObjectState oldState,
CloseableObjectState newState)
onStateTransition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugLogger(org.slf4j.Logger logger)
Constructor for DebugLogger.
logger - a Logger object.| Method Detail |
|---|
public void onConnect(Object sender,
ServerConnection connection)
onConnect in interface ConnectionMonitor.ConnectListener
public void onSecureChannelAttached(Object sender,
ServerSecureChannel channel)
onSecureChannelAttached in interface ServerConnection.SecureChannelListener
public void onStateTransition(IStatefulObject<CloseableObjectState,?> sender,
CloseableObjectState oldState,
CloseableObjectState newState)
onStateTransition.
onStateTransition in interface StateListener<CloseableObjectState>sender - a IStatefulObject object.oldState - a CloseableObjectState object.newState - a CloseableObjectState object.
public void onSecureChannelDetached(Object sender,
ServerSecureChannel channel)
onSecureChannelDetached in interface ServerConnection.SecureChannelListener
public void onClose(Object sender,
ServerConnection connection)
onClose in interface ConnectionMonitor.ConnectListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||