Package org.apache.axis2.transport.base
Class AbstractPollTableEntry
- java.lang.Object
-
- org.apache.axis2.transport.base.ProtocolEndpoint
-
- org.apache.axis2.transport.base.AbstractPollTableEntry
-
- Direct Known Subclasses:
PollTableEntry
public abstract class AbstractPollTableEntry extends ProtocolEndpoint
-
-
Field Summary
Fields Modifier and Type Field Description static intFAILEDstatic intNONEstatic intSUCCSESSFULstatic intWITH_ERRORS
-
Constructor Summary
Constructors Constructor Description AbstractPollTableEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLastPollState()longgetLastPollTime()longgetNextPollTime()longgetPollInterval()booleanisConcurrentPollingAllowed()booleanloadConfiguration(ParameterInclude params)Configure the endpoint based on the provided parameters.voidsetConcurrentPollingAllowed(boolean concurrentPollingAllowed)voidsetLastPollState(int lastPollState)voidsetLastPollTime(long lastPollTime)voidsetNextPollTime(long nextPollTime)voidsetPollInterval(long pollInterval)-
Methods inherited from class org.apache.axis2.transport.base.ProtocolEndpoint
createMessageContext, getConfigurationContext, getDescription, getEndpointReferences, getListener, getService, getServiceName
-
-
-
-
Field Detail
-
SUCCSESSFUL
public static final int SUCCSESSFUL
- See Also:
- Constant Field Values
-
WITH_ERRORS
public static final int WITH_ERRORS
- See Also:
- Constant Field Values
-
FAILED
public static final int FAILED
- See Also:
- Constant Field Values
-
NONE
public static final int NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNextPollTime
public long getNextPollTime()
-
setNextPollTime
public void setNextPollTime(long nextPollTime)
-
getLastPollTime
public long getLastPollTime()
-
setLastPollTime
public void setLastPollTime(long lastPollTime)
-
getPollInterval
public long getPollInterval()
-
setPollInterval
public void setPollInterval(long pollInterval)
-
getLastPollState
public int getLastPollState()
-
setLastPollState
public void setLastPollState(int lastPollState)
-
isConcurrentPollingAllowed
public boolean isConcurrentPollingAllowed()
-
setConcurrentPollingAllowed
public void setConcurrentPollingAllowed(boolean concurrentPollingAllowed)
-
loadConfiguration
public boolean loadConfiguration(ParameterInclude params) throws AxisFault
Description copied from class:ProtocolEndpointConfigure the endpoint based on the provided parameters. If no relevant parameters are found, the implementation should returnfalse. An exception should only be thrown if there is an error or inconsistency in the parameters.- Specified by:
loadConfigurationin classProtocolEndpoint- Parameters:
params- The source of the parameters to configure the endpoint. If the parameters are defined on a service, this will be anAxisServiceinstance.- Returns:
trueif the parameters contained the required configuration information and the endpoint has been configured,falseif the no configuration for the endpoint is present in the parameters- Throws:
AxisFault- if configuration information is present, but there is an error or inconsistency in the parameters
-
-