|
ANTS v2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Xdr | |
ants.core | |
ants.dante | |
ants.route | |
apps.mobile | |
apps.multicast | |
apps.ping | |
apps.pong | |
apps.stats | |
apps.statsfusion |
Uses of Xdr in ants.core |
Methods in ants.core that return Xdr | |
Xdr |
Capsule.encode()
Encode this capsule's header into a new Xdr. |
Xdr |
Capsule.encodeCapsuleForSend(Node node)
Encode an outgoing capsule. |
Xdr |
Capsule.decode()
Decode a capsule header from this Capsule's xdr field. |
Xdr |
DLResponseCapsule.encode()
|
Xdr |
DLResponseCapsule.decode()
|
Xdr |
DataCapsule.encode()
|
Xdr |
DataCapsule.decode()
|
Methods in ants.core with parameters of type Xdr | |
static Capsule |
Capsule.create(java.lang.Class cl,
Xdr xdr)
Create a new Capsule from the given Xdr. |
Uses of Xdr in ants.dante |
Methods in ants.dante that return Xdr | |
Xdr |
DanteCapsule.encode()
|
Xdr |
DanteCapsule.decode()
|
Uses of Xdr in ants.route |
Methods in ants.route that return Xdr | |
Xdr |
DynamicRouteCapsule.encode()
|
Xdr |
DynamicRouteCapsule.decode()
|
Uses of Xdr in apps.mobile |
Methods in apps.mobile that return Xdr | |
Xdr |
MobileUpdateCapsule.encode()
|
Xdr |
MobileUpdateCapsule.decode()
|
Xdr |
MobileCapsule.encode()
|
Xdr |
MobileCapsule.decode()
|
Uses of Xdr in apps.multicast |
Methods in apps.multicast that return Xdr | |
Xdr |
MulticastCapsule.encode()
Encode this capsule. |
Xdr |
MulticastCapsule.decode()
Decode this capsule. |
Xdr |
MulticastSubscribeCapsule.encode()
Encode this capsule. |
Xdr |
MulticastSubscribeCapsule.decode()
Decode this capsule. |
Uses of Xdr in apps.ping |
Methods in apps.ping that return Xdr | |
Xdr |
PingCapsule.encode()
|
Xdr |
PingCapsule.decode()
|
Uses of Xdr in apps.pong |
Methods in apps.pong that return Xdr | |
Xdr |
PongCapsule.encode()
|
Xdr |
PongCapsule.decode()
|
Uses of Xdr in apps.stats |
Methods in apps.stats that return Xdr | |
Xdr |
StatsCapsule.encode()
Stats request capsules look like: 4 Address of the root of the tree 4 Unique key id of this request tree 2 Application port 1 Depth 4 Time capsule was sent |
Xdr |
StatsCapsule.decode()
|
Xdr |
StatsReturnCapsule.encode()
Return capsule looks like: 4 Address of the actual source of the information 4 Address of the node that requested stats from source node 4 Time capsule this is a response to was sent 4 Latency (0 if latency has yet to be figured) 4 Number of nodes the source of this return sent to |
Xdr |
StatsReturnCapsule.decode()
|
Uses of Xdr in apps.statsfusion |
Methods in apps.statsfusion that return Xdr | |
Xdr |
StatsCapsule.encode()
Stats request capsules look like: 4 Address of the root of the tree 4 Unique key id of this request tree 2 Application port 1 Depth 4 Time capsule was sent 4 Cachetime parameter 4 Returnwait parameter 4 Returntimeout parameter |
Xdr |
StatsCapsule.decode()
|
Xdr |
StatsReturnCapsule.encode()
Return capsule data looks like: 4 Address of the actual source of the information 4 Address of the node that requested stats from source node 8 Time capsule this is a response to was sent 8 Latency (0 if latency has yet to be figured) 8 The key id of this capsule (used in the node cache) 4 Number of nodes the source of this return sent to 4 Cachetime parameter n The addresses of the nodes the request was sent to n The byte array containing the return data |
Xdr |
StatsReturnCapsule.decode()
|
Methods in apps.statsfusion with parameters of type Xdr | |
void |
StatsReturnCapsule.subencode(Xdr xdr)
Subencode is called on each fused capsule and the parent capsule to encode only its own data |
void |
StatsReturnCapsule.subdecode(Xdr xdr)
Subencode is called on each fused capsule and the parent capsule to decode only the capsules data. |
|
ANTS v2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |