com.vwp.vuapi.event
Interface VUUserListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
VUCommunicationListener, VUPositionListener

public interface VUUserListener
extends java.util.EventListener

This class can be used to create a object that watches which changes appear related to users


Field Summary
static int VU_USER_CHANGE_ENTER
          change action flag: the user enters a world
static int VU_USER_CHANGE_LEAVE
          change action flag: the user leaves the world
static int VU_USER_CHANGE_MODIFY
          currently not supported
 
Method Summary
 void userChanged(VUUserInfo ui, int changeAction)
          This method is called every time something user-related changed within the world the robot is currently logged into
 

Field Detail

VU_USER_CHANGE_ENTER

static final int VU_USER_CHANGE_ENTER
change action flag: the user enters a world

See Also:
Constant Field Values

VU_USER_CHANGE_MODIFY

static final int VU_USER_CHANGE_MODIFY
currently not supported

See Also:
Constant Field Values

VU_USER_CHANGE_LEAVE

static final int VU_USER_CHANGE_LEAVE
change action flag: the user leaves the world

See Also:
Constant Field Values
Method Detail

userChanged

void userChanged(VUUserInfo ui,
                 int changeAction)
This method is called every time something user-related changed within the world the robot is currently logged into

Parameters:
ui - a VUUserInfo object that contains information of the user that changed
changeAction - a flag that specifies what has changed ToDo: decouple this method call so that a blocking user handling doesn't blocks the complete data flow of the API