sky.common.session
Class BaseEvent

java.lang.Object
  extended bysky.common.session.BaseEvent
All Implemented Interfaces:
Event

public class BaseEvent
extends java.lang.Object
implements Event

Base implimentation of the Event interface.

$RCSfile: BaseEvent.java,v $
$Revision: 1.2 $, $Date: 2005/04/24 03:14:00 $


Field Summary
protected  java.lang.String _place
          URL or location at which this event occured.
protected  long _time
          Time at which this event occured.
 
Constructor Summary
BaseEvent(long time, java.lang.String place)
          Constructor
 
Method Summary
 java.lang.String getPlace()
          Get URL or location at which this event occured.
 long getTime()
          Get time at which this event occured.
 java.lang.String toString()
          Convert this event into string form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_time

protected long _time
Time at which this event occured.


_place

protected java.lang.String _place
URL or location at which this event occured.

Constructor Detail

BaseEvent

public BaseEvent(long time,
                 java.lang.String place)
Constructor

Parameters:
time - time at which event occured
place - URL or location at which this event occured.
Method Detail

getTime

public long getTime()
Get time at which this event occured.

Specified by:
getTime in interface Event
Returns:
time.

getPlace

public java.lang.String getPlace()
Get URL or location at which this event occured.

Specified by:
getPlace in interface Event
Returns:
URL or location.

toString

public java.lang.String toString()
Convert this event into string form.

Specified by:
toString in interface Event
Returns:
String representation of this event.