org.mobicents.slee.resource.lab.ra
Class MessageActivityImpl
java.lang.Object
org.mobicents.slee.resource.lab.ra.MessageActivityImpl
- All Implemented Interfaces:
- org.mobicents.slee.resource.lab.ratype.MessageActivity
public class MessageActivityImpl
- extends java.lang.Object
- implements org.mobicents.slee.resource.lab.ratype.MessageActivity
The RAFActivityImpl implements the RAFActivity interface. For further information,
please refer to the description of the interface RAFActivity.
- Author:
- Michael Maretzke, amit bhayani
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageActivityImpl
public MessageActivityImpl(java.lang.String sessionId)
initReceived
public void initReceived()
- Specified by:
initReceived in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
anyReceived
public void anyReceived()
- Specified by:
anyReceived in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
endReceived
public void endReceived()
- Specified by:
endReceived in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
getInitCounter
public int getInitCounter()
- Specified by:
getInitCounter in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
getAnyCounter
public int getAnyCounter()
- Specified by:
getAnyCounter in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
getEndCounter
public int getEndCounter()
- Specified by:
getEndCounter in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
getStartTime
public long getStartTime()
- Specified by:
getStartTime in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
isValid
public boolean isValid(int command)
- Checks if an incoming command is valid according to the
defined statemachine. The statemachine of the resource adaptor
is described above.
- Specified by:
isValid in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
- Parameters:
command - the integer representation of the command
getSessionId
public java.lang.String getSessionId()
- Specified by:
getSessionId in interface org.mobicents.slee.resource.lab.ratype.MessageActivity
Copyright © 2009. All Rights Reserved.