org.japano.action
Class PingPongContext

java.lang.Object
  extended by org.japano.action.PingPongContext

public class PingPongContext
extends java.lang.Object

A ping pong context encapsulates an ping pong action instance and a numeric ping pong id to retrieve the instance again on client invocation. Page implementations use Session.createPingPongAction(String) to obtain ping pong context.

Version:
$Id: PingPongContext.java,v 1.2 2005/09/27 21:30:50 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )
See Also:
Session.createPingPongAction(String)

Constructor Summary
PingPongContext(java.lang.String name, PingPongAction action)
          Creates a new instance of PingPongContext
 
Method Summary
 boolean equals(java.lang.Object o)
           
 PingPongAction getAction()
          Returns the ping pong action that was created for this context.
 java.lang.String getName()
          Returns the qualified name for the action.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingPongContext

public PingPongContext(java.lang.String name,
                       PingPongAction action)
Creates a new instance of PingPongContext

Method Detail

getAction

public PingPongAction getAction()
Returns the ping pong action that was created for this context.

Returns:
ping pong action

getName

public java.lang.String getName()
Returns the qualified name for the action.

Returns:
name

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object