|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.iac.ing.codeso.widget.adapter.LogWidgetAdapter
public class LogWidgetAdapter
The LogWidgetAdapter
class provides a means of monitoring
actions.
Nested Class Summary | |
---|---|
private class |
LogWidgetAdapter.ActionProxyListener
|
private class |
LogWidgetAdapter.ServerProxyListener
|
Field Summary | |
---|---|
private java.util.ArrayList<ActionProxy> |
actionProxyList
Holds references to all ActionProxies, thus preventing them from being garbage collected. |
private iLoggable |
logWidget
|
private java.util.ArrayList<ServerProxy> |
serverProxyList
Holds references to all ServerProxy, thus preventing them from being garbage collected. |
Constructor Summary | |
---|---|
LogWidgetAdapter()
Creates a new LogWidgetActionAdapter |
Method Summary | |
---|---|
void |
createActionMonitor(int channel,
java.lang.String name)
|
void |
createServerMonitor(int channel,
java.lang.String name)
|
private static java.lang.String |
getTimeStamp()
|
void |
setLogWidget(iLoggable logWidget)
|
protected void |
updateLogWidgetWithNewActionProxyConnectionState(ActionProxy actionProxy)
Updates the log widget with the new connection state. |
protected void |
updateLogWidgetWithNewActionState(ActionProxy actionProxy)
Updates the log widget with the new action proxy's state. |
protected void |
updateLogWidgetWithNewServerProxyConnectionState(ServerProxy serverProxy)
Updates the log widget with the new connection state. |
protected void |
updateLogWidgetWithNewServerState(ServerProxy serverProxy)
Updates the log widget with the new server proxy's state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private iLoggable logWidget
private java.util.ArrayList<ActionProxy> actionProxyList
private java.util.ArrayList<ServerProxy> serverProxyList
Constructor Detail |
---|
public LogWidgetAdapter()
Method Detail |
---|
public void createActionMonitor(int channel, java.lang.String name)
public void createServerMonitor(int channel, java.lang.String name)
public void setLogWidget(iLoggable logWidget)
protected void updateLogWidgetWithNewActionState(ActionProxy actionProxy)
actionProxy
- reference to the action proxy whose state has changed.protected void updateLogWidgetWithNewServerState(ServerProxy serverProxy)
serverProxy
- reference to the server proxy whose state has changed.protected void updateLogWidgetWithNewActionProxyConnectionState(ActionProxy actionProxy)
actionProxy
- reference to the ActionProxy object whose connection
state has changed.protected void updateLogWidgetWithNewServerProxyConnectionState(ServerProxy serverProxy)
serverProxy
- reference to the ServerProxy object whose connection
state has changed.private static java.lang.String getTimeStamp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |