Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mobicents.slee.runtime
Class SleeEventImpl  view SleeEventImpl download SleeEventImpl.java

java.lang.Object
  extended byorg.mobicents.slee.runtime.SleeEventImpl
All Implemented Interfaces:
SleeEvent

public class SleeEventImpl
extends java.lang.Object
implements SleeEvent

Slee Event wrapper. This is delivered to the SbbEntity. The sbb entity records any victim Sbbs that have generated runtime exceptions here.


Field Summary
private  ActivityContextInterface aci
           
private  java.lang.Object activity
           
private  java.lang.String activityContextId
           
private  Address address
           
private  java.util.ArrayList errorSbbObjects
           
private  EventTypeID eventID
           
private  java.lang.Object eventObject
           
private  java.lang.String resourceAdaptorEntityName
           
 
Fields inherited from interface org.mobicents.slee.runtime.SleeEvent
ACTIVITY_EVENT
 
Constructor Summary
SleeEventImpl(int eventID, java.lang.Object event, java.lang.String activityContextId, java.lang.Object activity, Address addr)
           
 
Method Summary
 java.lang.Object getActivity()
           
 ActivityContext getActivityContext()
           
 java.lang.String getActivityContextID()
          Get the activity context that encapsulates this event.
 ActivityContextInterface getActivityContextInterface()
           
 Address getAddress()
          get the address associated with this event.
 java.lang.Object getEventObject()
          Get the event name.
 EventTypeID getEventTypeID()
          Get the event type.
 boolean hasGarbage()
           
 void setActivityContextInterface(ActivityContextInterface aci)
          Set the ACI before routing event to the sbb.
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorSbbObjects

private java.util.ArrayList errorSbbObjects

eventID

private EventTypeID eventID

activityContextId

private java.lang.String activityContextId

resourceAdaptorEntityName

private java.lang.String resourceAdaptorEntityName

aci

private ActivityContextInterface aci

activity

private java.lang.Object activity

eventObject

private java.lang.Object eventObject

address

private Address address
Constructor Detail

SleeEventImpl

public SleeEventImpl(int eventID,
                     java.lang.Object event,
                     java.lang.String activityContextId,
                     java.lang.Object activity,
                     Address addr)
Method Detail

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


hasGarbage

public boolean hasGarbage()

getActivity

public java.lang.Object getActivity()
Specified by:
getActivity in interface SleeEvent

getActivityContextID

public java.lang.String getActivityContextID()
Description copied from interface: SleeEvent
Get the activity context that encapsulates this event.

Specified by:
getActivityContextID in interface SleeEvent

getEventTypeID

public EventTypeID getEventTypeID()
Description copied from interface: SleeEvent
Get the event type.

Specified by:
getEventTypeID in interface SleeEvent

getEventObject

public java.lang.Object getEventObject()
Description copied from interface: SleeEvent
Get the event name.

Specified by:
getEventObject in interface SleeEvent

getAddress

public Address getAddress()
Description copied from interface: SleeEvent
get the address associated with this event.

Specified by:
getAddress in interface SleeEvent

getActivityContext

public ActivityContext getActivityContext()

setActivityContextInterface

public void setActivityContextInterface(ActivityContextInterface aci)
Description copied from interface: SleeEvent
Set the ACI before routing event to the sbb. This is a temporary place holder

Specified by:
setActivityContextInterface in interface SleeEvent

getActivityContextInterface

public ActivityContextInterface getActivityContextInterface()
Specified by:
getActivityContextInterface in interface SleeEvent