blob: 0c5d5678ea77e203ae01d3e20912a2f49617c9c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package org.noreply.fancydress.type3.routing;
/**
* Base class for all Routings that appear within a chain.
*
* Routings of this type mean that the packet is forwarded
* (possible after a SWAP operation) to a next node.
*/
public abstract class RoutingForward extends Routing {
/**
* Default constructor.
*
* @param type The routing type as integer.
*/
protected RoutingForward(int type) {
super (type);
}
/**
* Get the same routing information as a SWAP type.
*
* @return A routing class with the same information, but with a SWAP routing type.
*/
public abstract RoutingForward asSwap();
}
|