edu.wisc.trace.urcsdk.client.facade
Class FacadeForJs.SocketElementListener

java.lang.Object
  extended by edu.wisc.trace.urcsdk.client.facade.FacadeForJs.SocketElementListener
All Implemented Interfaces:
ISocketElementListener
Enclosing class:
FacadeForJs

public static class FacadeForJs.SocketElementListener
extends java.lang.Object
implements ISocketElementListener

Special purpose Listener for Listening to individual SocketElements

Author:
Parikshit Thakur & team

Constructor Summary
FacadeForJs.SocketElementListener(IUISocketElement uiSocketElement)
          Creates a new SocketElementListener instance
 
Method Summary
 void updateExecutable(boolean write)
          Used to update the Writable attribute for variables; the executable attribute for commands
 void updateReadable(boolean read)
          Used to update the Readable attribute
 void updateValue()
          Called when an update is received from the TUN
 void updateWriteable(boolean write)
          Used to update the Writable attribute for variables; the executable attribute for commands
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacadeForJs.SocketElementListener

public FacadeForJs.SocketElementListener(IUISocketElement uiSocketElement)
Creates a new SocketElementListener instance

Parameters:
uiSocketElement - a IUISocketElement value
Method Detail

updateValue

public void updateValue()
Called when an update is received from the TUN

Specified by:
updateValue in interface ISocketElementListener

updateReadable

public void updateReadable(boolean read)
Used to update the Readable attribute

Specified by:
updateReadable in interface ISocketElementListener
Parameters:
read - boolean

updateWriteable

public void updateWriteable(boolean write)
Used to update the Writable attribute for variables; the executable attribute for commands

Specified by:
updateWriteable in interface ISocketElementListener
Parameters:
write - boolean

updateExecutable

public void updateExecutable(boolean write)
Used to update the Writable attribute for variables; the executable attribute for commands

Specified by:
updateExecutable in interface ISocketElementListener
Parameters:
write - boolean


Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.