|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.servlet.sip.SipToJava org.echarts.servlet.sip.EChartsMachineToJava
public abstract class EChartsMachineToJava
Abstract class that can be subclassed for the purposes of defining
an impelmentation of the interface from an ECharts for SIP Servlets
machine to its external environment. An EChartsMachineToJava
interface implementation class that does not subclass this class
will not inherit this class's putEvent()
method. This class provides a factory method for
creating an interface instance, whether it subclasses this class or
not.
Constructor Summary | |
---|---|
EChartsMachineToJava()
|
Method Summary | ||
---|---|---|
static
|
getInstance(SipApplicationSession appSession)
Gets existing interface instance, otherwise creates new interface instance for specified appSession. |
|
protected java.lang.String |
getSipApplicationSessionId()
Returns the SIP application session ID associated with this EChartsMachineToJava instance. |
|
protected void |
init()
This method is called immediately after EChartsMachineToJava instance is created and its private fields are initialized. |
|
protected void |
publish(java.lang.String sasid)
This method is called immediately after the init()
method is called. |
|
protected void |
putEvent(MachineMonitorEvent event)
Put an event to the machine's monitor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EChartsMachineToJava()
Method Detail |
---|
public static final <T> T getInstance(SipApplicationSession appSession) throws java.lang.Exception
appSession
- the SIP application session associated with
the EChartsMachineToJava instance to be created
java.lang.Exception
protected void init()
protected void putEvent(MachineMonitorEvent event)
event
- the event to put to the monitorprotected void publish(java.lang.String sasid)
init()
method is called. The default behavior is to do nothing. It is
intended to be overridden in the subclass in order to publish
this EChartsMachineToJava instance's sasid for later use by the
machine's JavaToEChartsMachine instance (if one happens to be
defined).
protected java.lang.String getSipApplicationSessionId()
init()
method but not
from the class constructor.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |