Package org.drasyl.pipeline
Class DrasylPipeline
- java.lang.Object
-
- org.drasyl.pipeline.AbstractPipeline
-
- org.drasyl.pipeline.DrasylPipeline
-
- All Implemented Interfaces:
Pipeline
public class DrasylPipeline extends AbstractPipeline
The defaultPipeline
implementation. Used to implement plugins for drasyl.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARM_HANDLER
static String
CHUNKING_HANDLER
static String
HOP_COUNT_GUARD
static String
INTERNET_DISCOVERY
static String
INTRA_VM_DISCOVERY
static String
INVALID_PROOF_OF_WORK_FILTER
static String
LOCAL_HOST_DISCOVERY
static String
LOCAL_NETWORK_DISCOVER
static String
LOOPBACK_MESSAGE_HANDLER
static String
MESSAGE_SERIALIZER
static String
MONITORING_HANDLER
static String
OTHER_NETWORK_FILTER
static String
PORT_MAPPER
static String
RATE_LIMITER
static String
REMOTE_ENVELOPE_TO_BYTE_BUF_CODEC
static String
STATIC_ROUTES_HANDLER
static String
TCP_CLIENT
static String
TCP_SERVER
static String
UDP_MULTICAST_SERVER
static String
UDP_SERVER
-
Fields inherited from class org.drasyl.pipeline.AbstractPipeline
config, dependentScheduler, handlerNames, head, identity, inboundSerialization, independentScheduler, outboundMessagesBuffer, outboundSerialization, peersManager, tail
-
-
Constructor Summary
Constructors Constructor Description DrasylPipeline(Consumer<Event> eventConsumer, DrasylConfig config, Identity identity, PeersManager peersManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Logger
log()
-
Methods inherited from class org.drasyl.pipeline.AbstractPipeline
addAfter, addBefore, addFirst, addLast, context, get, initPointer, isWritable, messagesBeforeUnwritable, processInbound, processInbound, processOutbound, remove, replace
-
-
-
-
Field Detail
-
LOOPBACK_MESSAGE_HANDLER
public static final String LOOPBACK_MESSAGE_HANDLER
- See Also:
- Constant Field Values
-
INTRA_VM_DISCOVERY
public static final String INTRA_VM_DISCOVERY
- See Also:
- Constant Field Values
-
MESSAGE_SERIALIZER
public static final String MESSAGE_SERIALIZER
- See Also:
- Constant Field Values
-
STATIC_ROUTES_HANDLER
public static final String STATIC_ROUTES_HANDLER
- See Also:
- Constant Field Values
-
LOCAL_HOST_DISCOVERY
public static final String LOCAL_HOST_DISCOVERY
- See Also:
- Constant Field Values
-
INTERNET_DISCOVERY
public static final String INTERNET_DISCOVERY
- See Also:
- Constant Field Values
-
LOCAL_NETWORK_DISCOVER
public static final String LOCAL_NETWORK_DISCOVER
- See Also:
- Constant Field Values
-
HOP_COUNT_GUARD
public static final String HOP_COUNT_GUARD
- See Also:
- Constant Field Values
-
MONITORING_HANDLER
public static final String MONITORING_HANDLER
- See Also:
- Constant Field Values
-
RATE_LIMITER
public static final String RATE_LIMITER
- See Also:
- Constant Field Values
-
ARM_HANDLER
public static final String ARM_HANDLER
- See Also:
- Constant Field Values
-
INVALID_PROOF_OF_WORK_FILTER
public static final String INVALID_PROOF_OF_WORK_FILTER
- See Also:
- Constant Field Values
-
OTHER_NETWORK_FILTER
public static final String OTHER_NETWORK_FILTER
- See Also:
- Constant Field Values
-
CHUNKING_HANDLER
public static final String CHUNKING_HANDLER
- See Also:
- Constant Field Values
-
REMOTE_ENVELOPE_TO_BYTE_BUF_CODEC
public static final String REMOTE_ENVELOPE_TO_BYTE_BUF_CODEC
- See Also:
- Constant Field Values
-
UDP_MULTICAST_SERVER
public static final String UDP_MULTICAST_SERVER
- See Also:
- Constant Field Values
-
TCP_SERVER
public static final String TCP_SERVER
- See Also:
- Constant Field Values
-
TCP_CLIENT
public static final String TCP_CLIENT
- See Also:
- Constant Field Values
-
PORT_MAPPER
public static final String PORT_MAPPER
- See Also:
- Constant Field Values
-
UDP_SERVER
public static final String UDP_SERVER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DrasylPipeline
public DrasylPipeline(Consumer<Event> eventConsumer, DrasylConfig config, Identity identity, PeersManager peersManager)
-
-
Method Detail
-
log
protected Logger log()
- Specified by:
log
in classAbstractPipeline
-
-