Package com.adaptris.hpcc
Class SingleFileRequest
- java.lang.Object
-
- com.adaptris.core.AdaptrisMessageWorkerImp
-
- com.adaptris.core.AdaptrisMessageProducerImp
-
- com.adaptris.hpcc.DfuPlusWrapper
-
- com.adaptris.hpcc.RequestOnlyImpl
-
- com.adaptris.hpcc.SingleFileRequest
-
- All Implemented Interfaces:
AdaptrisComponent
,AdaptrisMessageProducer
,AdaptrisMessageSender
,AdaptrisMessageWorker
,ComponentLifecycle
,ComponentLifecycleExtension
,MessageEventGenerator
- Direct Known Subclasses:
DeleteFromThor
,DesprayFromThor
,PollThor
public abstract class SingleFileRequest extends RequestOnlyImpl
-
-
Field Summary
-
Fields inherited from class com.adaptris.hpcc.DfuPlusWrapper
executor
-
Fields inherited from class com.adaptris.core.AdaptrisMessageWorkerImp
log
-
-
Constructor Summary
Constructors Constructor Description SingleFileRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
endpoint(AdaptrisMessage msg)
java.lang.String
getLogicalFilename()
The filename to write in Thorvoid
prepare()
void
setLogicalFilename(java.lang.String logicalFilename)
The filename to write in Thor-
Methods inherited from class com.adaptris.hpcc.RequestOnlyImpl
doProduce
-
Methods inherited from class com.adaptris.hpcc.DfuPlusWrapper
calculateWait, close, doRequest, execute, executeInternal, generateExceptionMessage, getMaxWait, getMonitorInterval, init, maxWaitMs, monitorIntervalMs, produce, request, request, setMaxWait, setMonitorInterval, start, stop
-
Methods inherited from class com.adaptris.core.AdaptrisMessageProducerImp
createName
-
Methods inherited from class com.adaptris.core.AdaptrisMessageWorkerImp
createQualifier, decode, encode, getEncoder, getIsTrackingEndpoint, getMessageFactory, getUniqueId, handleConnectionException, isTrackingEndpoint, registerConnection, registerEncoderMessageFactory, retrieveConnection, setEncoder, setIsTrackingEndpoint, setMessageFactory, setUniqueId, withMessageFactory, withUniqueID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueId
-
Methods inherited from interface com.adaptris.core.AdaptrisMessageWorker
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactory
-
Methods inherited from interface com.adaptris.core.MessageEventGenerator
createQualifier, isTrackingEndpoint
-
-
-
-
Method Detail
-
prepare
public void prepare() throws CoreException
- Specified by:
prepare
in interfaceComponentLifecycleExtension
- Overrides:
prepare
in classDfuPlusWrapper
- Throws:
CoreException
-
endpoint
public java.lang.String endpoint(AdaptrisMessage msg) throws ProduceException
- Specified by:
endpoint
in classAdaptrisMessageProducerImp
- Throws:
ProduceException
-
getLogicalFilename
public java.lang.String getLogicalFilename()
The filename to write in Thor
-
setLogicalFilename
public void setLogicalFilename(java.lang.String logicalFilename)
The filename to write in Thor
-
-