Class AbstractIecEndpoint<T extends AbstractConnectionMultiplexor>
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.support.DefaultEndpoint
-
- org.apache.camel.component.iec60870.AbstractIecEndpoint<T>
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.CamelContextAware
,org.apache.camel.Endpoint
,org.apache.camel.IsSingleton
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.HasId
,org.apache.camel.StatefulService
,org.apache.camel.SuspendableService
- Direct Known Subclasses:
ClientEndpoint
,ServerEndpoint
public abstract class AbstractIecEndpoint<T extends AbstractConnectionMultiplexor> extends org.apache.camel.support.DefaultEndpoint
-
-
Constructor Summary
Constructors Constructor Description AbstractIecEndpoint(String uri, org.apache.camel.support.DefaultComponent component, T connection, ObjectAddress address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doStart()
protected void
doStop()
ObjectAddress
getAddress()
protected T
getConnection()
String
getConnectionId()
ClientOptions
getConnectionOptions()
org.eclipse.neoscada.protocol.iec60870.client.data.DataModuleOptions
getDataModuleOptions()
org.eclipse.neoscada.protocol.iec60870.ProtocolOptions
getProtocolOptions()
void
setConnectionId(String connectionId)
-
Methods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.camel.Endpoint
createConsumer, createProducer, getEndpointBaseUri, isSingletonProducer
-
-
-
-
Constructor Detail
-
AbstractIecEndpoint
public AbstractIecEndpoint(String uri, org.apache.camel.support.DefaultComponent component, T connection, ObjectAddress address)
-
-
Method Detail
-
getConnectionOptions
public ClientOptions getConnectionOptions()
-
getProtocolOptions
public org.eclipse.neoscada.protocol.iec60870.ProtocolOptions getProtocolOptions()
-
getDataModuleOptions
public org.eclipse.neoscada.protocol.iec60870.client.data.DataModuleOptions getDataModuleOptions()
-
getConnectionId
public String getConnectionId()
-
setConnectionId
public void setConnectionId(String connectionId)
-
getAddress
public ObjectAddress getAddress()
-
doStart
protected void doStart() throws Exception
- Overrides:
doStart
in classorg.apache.camel.support.DefaultEndpoint
- Throws:
Exception
-
doStop
protected void doStop() throws Exception
- Overrides:
doStop
in classorg.apache.camel.support.DefaultEndpoint
- Throws:
Exception
-
getConnection
protected T getConnection()
-
-