public abstract class PAPModule
extends InputModule
Modifier and Type | Class and Description |
---|---|
protected class |
PAPModule.PAPInput
PAP input.
|
InputModule.AbstractInput, InputModule.ModuleInput
Constructor and Description |
---|
PAPModule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
loadMetadata()
Loads the metadata.
|
boolean |
needsMetadata() |
protected abstract PAPModule.PAPInput |
newInput(PAPServer server)
Returns a new PAP input for a PAP server.
|
protected abstract PAPSupport |
newSupport()
Returns a new support instance.
|
boolean |
onMetadataRefreshed() |
protected abstract KeyedGroups |
protocolProperties(KeyedGroups moduleProperties)
Returns protocol properties.
|
protected boolean |
setUp(KeyedGroups moduleProperties) |
protected abstract String |
usage()
Returns the attributes usage.
|
getDefaultBatchLimit, getInput, output, run, setInput, start, stop, tearDown
public boolean needsMetadata()
needsMetadata
in interface ForwarderModule
needsMetadata
in class ForwarderModule.Abstract
public boolean onMetadataRefreshed()
onMetadataRefreshed
in interface ForwarderModule
onMetadataRefreshed
in class ForwarderModule.Abstract
@CheckReturnValue protected boolean loadMetadata()
@Nonnull @CheckReturnValue protected abstract PAPModule.PAPInput newInput(@Nonnull PAPServer server)
server
- The PAP server.@Nonnull @CheckReturnValue protected abstract PAPSupport newSupport()
@Nonnull @CheckReturnValue protected abstract KeyedGroups protocolProperties(@Nonnull KeyedGroups moduleProperties)
moduleProperties
- The module properties.protected boolean setUp(KeyedGroups moduleProperties)
setUp
in class InputModule
@Nonnull @CheckReturnValue protected abstract String usage()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.