Package jade.imtp.leap.sms
Class SMSBEDispatcher
- java.lang.Object
-
- jade.imtp.leap.nio.NIOBEDispatcher
-
- jade.imtp.leap.sms.SMSBEDispatcher
-
- All Implemented Interfaces:
BEConnectionManager,Dispatcher,JICPMediator,NIOMediator
public class SMSBEDispatcher extends NIOBEDispatcher
BackEnd side dispatcher class that extendsNIOBEDispatcherand uses SMS to perform OUT-of-bound notifications to the FrontEnd when the connection (currently dropped) must be re-established.- Author:
- Giovanni Caire - TILAB
- See Also:
SMSFEDispatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jade.imtp.leap.nio.NIOBEDispatcher
NIOBEDispatcher.InputManager, NIOBEDispatcher.OutputManager
-
-
Field Summary
-
Fields inherited from class jade.imtp.leap.nio.NIOBEDispatcher
inpManager, outManager
-
-
Constructor Summary
Constructors Constructor Description SMSBEDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleDropDown(Connection c, JICPPacket pkt, InetAddress addr, int port)Handle a connection DROP_DOWN request from the FE.voidinit(JICPMediatorManager mgr, String id, Properties props)Initialize this JICPMediatorprotected voidrequestRefresh()Request the FE to refresh the connection.-
Methods inherited from class jade.imtp.leap.nio.NIOBEDispatcher
dispatch, getFrontEnd, getID, getProperties, handleConnectionError, handleIncomingConnection, handleJICPPacket, handleJICPPacket, isConnected, kill, shutdown, startBackEndContainer, tick
-
-
-
-
Method Detail
-
init
public void init(JICPMediatorManager mgr, String id, Properties props) throws ICPException
Description copied from class:NIOBEDispatcherInitialize this JICPMediator- Specified by:
initin interfaceJICPMediator- Overrides:
initin classNIOBEDispatcher- Throws:
ICPException
-
handleDropDown
protected void handleDropDown(Connection c, JICPPacket pkt, InetAddress addr, int port)
Description copied from class:NIOBEDispatcherHandle a connection DROP_DOWN request from the FE.- Overrides:
handleDropDownin classNIOBEDispatcher
-
requestRefresh
protected void requestRefresh()
Request the FE to refresh the connection.- Overrides:
requestRefreshin classNIOBEDispatcher
-
-