org.jdiameter.server.impl.fsm
Class PeerFSMImpl

java.lang.Object
  extended by org.jdiameter.client.impl.fsm.PeerFSMImpl
      extended by org.jdiameter.server.impl.fsm.PeerFSMImpl
All Implemented Interfaces:
StateMachine, ConfigurationListener, IStateMachine

public class PeerFSMImpl
extends PeerFSMImpl
implements IStateMachine, ConfigurationListener

Author:
Alexandre Mendonca , Bartosz Baranowski

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdiameter.client.impl.fsm.PeerFSMImpl
PeerFSMImpl.MyState
 
Field Summary
 
Fields inherited from class org.jdiameter.client.impl.fsm.PeerFSMImpl
CEA_TIMEOUT, concurrentFactory, context, dictionary, DPA_TIMEOUT, DWA_TIMEOUT, eventQueue, IAC_TIMEOUT, listeners, mustRun, numberOfThreadsRunning, predefSize, queueStat, random, REC_TIMEOUT, state, states, statisticFactory, timeCount, timeOutEvent, timer, timeSumm, watchdogSent
 
Constructor Summary
PeerFSMImpl(IContext context, IConcurrentFactory concurrentFactory, Configuration config, IStatisticManager statisticFactory)
           
 
Method Summary
 boolean elementChanged(int i, java.lang.Object data)
           
protected  State[] getStates()
           
protected  void loadTimeOuts(Configuration config)
           
 
Methods inherited from class org.jdiameter.client.impl.fsm.PeerFSMImpl
addStateChangeNotification, getQueueInfo, getState, getStatistic, handleEvent, removeStateChangeNotification, remStateChangeNotification, setInActiveTimer, switchToNextState, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jdiameter.client.api.fsm.IStateMachine
getQueueInfo, getStatistic, remStateChangeNotification
 
Methods inherited from interface org.jdiameter.api.app.StateMachine
addStateChangeNotification, getState, handleEvent, removeStateChangeNotification
 

Constructor Detail

PeerFSMImpl

public PeerFSMImpl(IContext context,
                   IConcurrentFactory concurrentFactory,
                   Configuration config,
                   IStatisticManager statisticFactory)
Method Detail

loadTimeOuts

protected void loadTimeOuts(Configuration config)
Overrides:
loadTimeOuts in class PeerFSMImpl

elementChanged

public boolean elementChanged(int i,
                              java.lang.Object data)
Specified by:
elementChanged in interface ConfigurationListener

getStates

protected State[] getStates()
Overrides:
getStates in class PeerFSMImpl


Copyright © 2014. All Rights Reserved.