public abstract class AbstractAdaptor extends Object implements Adaptor
| Modifier and Type | Field and Description |
|---|---|
protected String |
adaptorID |
protected AdaptorManager |
control |
protected ChunkReceiver |
dest |
protected String |
type |
| Constructor and Description |
|---|
AbstractAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterAndStop(boolean gracefully) |
String |
getType() |
abstract void |
start(long offset) |
void |
start(String adaptorID,
String type,
long offset,
ChunkReceiver dest,
AdaptorManager c)
Start this adaptor
|
protected String type
protected ChunkReceiver dest
protected String adaptorID
protected AdaptorManager control
public final void start(String adaptorID, String type, long offset, ChunkReceiver dest, AdaptorManager c) throws AdaptorException
Adaptorstart in interface Adaptortype - the application type, who is starting this adaptoroffset - the stream offset of the first byte sent by this adaptorAdaptorExceptionpublic abstract void start(long offset)
throws AdaptorException
AdaptorExceptionpublic void deregisterAndStop(boolean gracefully)
Copyright © ${year} The Apache Software Foundation