spellcast.game
Class IPCRequest

java.lang.Object
  extended by spellcast.game.IPCRequest

public class IPCRequest
extends java.lang.Object

An incoming IPC message. This class contains the GameEvent sent by a client as well as the IPCHandle and Id needed to differentiate the messages from clients.

Author:
Barrie Treloar

Constructor Summary
IPCRequest(IPCHandle handle, Id id, GameEvent event)
           
 
Method Summary
 GameEvent getGameEvent()
          Get the value of event.
 IPCHandle getHandle()
          Get the value of handle.
 Id getId()
          Get the value of id.
 void setGameEvent(GameEvent v)
          Set the value of event.
 void setHandle(IPCHandle v)
          Set the value of handle.
 void setID(Id v)
          Set the value of id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPCRequest

public IPCRequest(IPCHandle handle,
                  Id id,
                  GameEvent event)
Method Detail

getHandle

public IPCHandle getHandle()
Get the value of handle.

Returns:
value of handle.

setHandle

public void setHandle(IPCHandle v)
Set the value of handle.

Parameters:
v - Value to assign to handle.

getId

public Id getId()
Get the value of id.

Returns:
value of id.

setID

public void setID(Id v)
Set the value of id.

Parameters:
v - Value to assign to id.

getGameEvent

public GameEvent getGameEvent()
Get the value of event.

Returns:
value of event.

setGameEvent

public void setGameEvent(GameEvent v)
Set the value of event.

Parameters:
v - Value to assign to event.


Copyright © 2001-2005 Spellcast. All Rights Reserved.