diff options
Diffstat (limited to 'src/org/noreply/fancydress/type3/routing/RoutingDestination.java')
-rw-r--r-- | src/org/noreply/fancydress/type3/routing/RoutingDestination.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/org/noreply/fancydress/type3/routing/RoutingDestination.java b/src/org/noreply/fancydress/type3/routing/RoutingDestination.java new file mode 100644 index 0000000..306a0bc --- /dev/null +++ b/src/org/noreply/fancydress/type3/routing/RoutingDestination.java @@ -0,0 +1,26 @@ +package org.noreply.fancydress.type3.routing; + +/** + * Base class for all Routings that are final destinations. + * + * Routings of this type usually mean that the message leaves the Type III + * network at the server processing them (for instance to be delivered via + * SMTP). In case of a DROP type it means that the packet is dropped at this + * node. + */ +public abstract class RoutingDestination extends Routing { + /** + * The size of decoding handles for payloads + */ + public static final int DECODINGHANDLE_LEN = 20; + + /** + * Default constructor. + * + * @param type The routing type as integer. + */ + protected RoutingDestination(int type) { + super (type); + } +} + |