public interface IContainer extends Stack
| Modifier and Type | Method and Description |
|---|---|
void |
addSessionListener(String sessionId,
NetworkReqListener listener)
Add session listener
|
IAssembler |
getAssemblerFacility()
Return root IOC
|
IConcurrentFactory |
getConcurrentFactory()
Return common concurrent factory
|
Configuration |
getConfiguration()
Return configuration instance
|
ScheduledExecutorService |
getScheduledFacility()
Return common Scheduled Executor Service
|
StackState |
getState()
Return state of stack
|
void |
removeSessionListener(String sessionId)
Remove session event listener by sessionId
|
void |
sendMessage(IMessage session)
Send message
|
destroy, getDictionary, getLogger, getMetaData, getSession, getSessionFactory, init, isActive, start, start, stopisWrapperFor, unwrapStackState getState()
Configuration getConfiguration()
IAssembler getAssemblerFacility()
ScheduledExecutorService getScheduledFacility()
IConcurrentFactory getConcurrentFactory()
void sendMessage(IMessage session) throws RouteException, AvpDataException, IllegalDiameterStateException, IOException
session - session instanceRouteExceptionAvpDataExceptionIllegalDiameterStateExceptionIOExceptionvoid addSessionListener(String sessionId, NetworkReqListener listener)
sessionId - session idlistener - listener instancevoid removeSessionListener(String sessionId)
sessionId - session identifierCopyright © 2016. All Rights Reserved.