blob: 83b0bec80c54c0d48924b7d9e1ef9f7d119b140a (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* $Id$ */
package org.noreply.fancydress.type3.routing;
/**
* The DROP routing as specified in the type III spec.
*
* DROP packets are dropped by the handling server. Their purpose
* is to generate dummy traffic.
*
* The payload of a DROP packet should be random garbage.
*/
public class RoutingDROP extends RoutingDestination {
/**
* Construct a DROP routing.
*/
public RoutingDROP() {
super (RoutingType.DROP);
}
/**
* Return the total length in octets of the routing information.
*
* @return total length in octets of the routing information
*/
public int getRoutingInformationLength() {
return 0;
}
/**
* Get the routing type of this instance.
*
* @return routing type
*/
public byte[] getRoutingInformation() {
byte[] result = {};
return result;
}
}
|