|
Core API 6.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The ScriptService interface defines an SPI that must be implemented by the script service.
| Method Summary | |
void |
activateSession()
Activate the script service session. |
AccountingData |
deactivateSession()
Deactivate the script service session. |
void |
discarded()
Notify that the service session has been discarded. |
AccountingData |
getAccountingData()
Poll current accounting data. |
byte[] |
getState()
Return opaque state data that will be stored persistently on the router. |
void |
initSessionInfo(ServiceSessionInfo info)
Provide session information to the script service. |
void |
initState(ServiceSessionInfo info,
byte[] state)
Initialize a recovered script service session after synchronization of the state. |
AccountingData |
modifySession(ServiceSessionInfo info)
Modify the script service session. |
| Method Detail |
public void initSessionInfo(ServiceSessionInfo info)
info - provide information of service session
public void activateSession()
throws ScriptServiceException
ScriptServiceException
public AccountingData deactivateSession()
throws ScriptServiceException
ScriptServiceException
public AccountingData modifySession(ServiceSessionInfo info)
throws ScriptServiceException
ScriptServiceException
public AccountingData getAccountingData()
throws ScriptServiceException
ScriptServiceExceptionpublic byte[] getState()
public void initState(ServiceSessionInfo info,
byte[] state)
info - provide information of service sessionstate - public void discarded()
|
Core API 6.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||