com.electrotank.electroserver4.extensions.api.value
Class UserEnterContext

java.lang.Object
  extended by com.electrotank.electroserver4.extensions.api.value.UserEnterContext

public class UserEnterContext
extends Object

Contains the context for a userEnter event.

See Also:
RoomUserEvents.userEnter

Constructor Summary
UserEnterContext(String userName)
          Creates a new instance of UserEnterContext for a given userName
 
Method Summary
 EsObject getResponseParameters()
          Gets the responseParameters for the room entry.
 String getUserName()
          Gets the name of the user who just entered the room.
 void setResponseParameters(EsObject responseParameters)
          Sets the responseParameters for the room entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserEnterContext

public UserEnterContext(String userName)
Creates a new instance of UserEnterContext for a given userName

Parameters:
userName - name of the user who just entered the room
Method Detail

getUserName

public String getUserName()
Gets the name of the user who just entered the room.

Returns:
userName

getResponseParameters

public EsObject getResponseParameters()
Gets the responseParameters for the room entry.

Returns:
responseParameters, as an EsObject

setResponseParameters

public void setResponseParameters(EsObject responseParameters)
Sets the responseParameters for the room entry.

Parameters:
responseParameters - EsObject with the response parameters


Copyright © 2007 Electrotank, Inc. All Rights Reserved.