com.electrotank.electroserver.plugins.entities
Class UserStub

java.lang.Object
  extended bycom.electrotank.electroserver.plugins.entities.UserStub

public class UserStub
extends Object

The UserStub object is a read-only representation of a User. It is created internally by the server and returned from several extension helper method calls.


Constructor Summary
UserStub(User user)
          Creates a new instance of UserStub.
 
Method Summary
 String getName()
          Gets the name of the user represented by this stub
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserStub

public UserStub(User user)
Creates a new instance of UserStub. This is an ElectroServer internal method.

Parameters:
user - the user this stub will be based on
Method Detail

getName

public String getName()
Gets the name of the user represented by this stub

Returns:
the name to use for this UserStub


Copyright © 2006 Electrotank, Inc. All Rights Reserved.