spellcast.event
Class ConnectionRequestEvent

java.lang.Object
  extended by spellcast.event.ConnectionRequestEvent
All Implemented Interfaces:
java.io.Serializable, GameEvent

public class ConnectionRequestEvent
extends java.lang.Object
implements GameEvent, java.io.Serializable

Request a connection to the Spellcast Game.

Author:
Barrie Treloar
See Also:
Serialized Form

Constructor Summary
ConnectionRequestEvent(java.lang.String wizardName, java.lang.String gender)
          Create a ConnectionRequestEvent where NO_ONE is the originator (we have yet to be assigned an id from the server), SPELLCAST is the target, and the recipient is SPELLCAST.
 
Method Summary
 java.lang.String getGender()
          Get the value of gender.
 java.lang.String getWizardName()
          Get the value of wizardName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionRequestEvent

public ConnectionRequestEvent(java.lang.String wizardName,
                              java.lang.String gender)
Create a ConnectionRequestEvent where NO_ONE is the originator (we have yet to be assigned an id from the server), SPELLCAST is the target, and the recipient is SPELLCAST.

Method Detail

getWizardName

public java.lang.String getWizardName()
Get the value of wizardName.

Returns:
value of wizardName.

getGender

public java.lang.String getGender()
Get the value of gender.

Returns:
value of gender.


Copyright © 2001-2005 Spellcast. All Rights Reserved.