ANTS v2.0 API
A B C D E F G H I J K L M N O P R S T U V W X

A

addNeighbor(int, Address) - Method in class ants.core.NeighborTable
add a new neighbor, and notify any listeners.
addNeighborListener(NeighborListener) - Method in class ants.core.NeighborTable
 
addPermission(Principal, Permission) - Method in class ants.core.security.Policy
 
addPermission(Principal, Permission) - Method in class ants.core.security.BasicPolicy
Add a permission after first checking for exact duplicates
AddressExhaustionException - exception ants.dante.AddressExhaustionException.
Indicates all the addresses at the local dynamic address manager are in use.
AddressExhaustionException() - Constructor for class ants.dante.AddressExhaustionException
 
addRoute(DynamicRouteEntry) - Method in class ants.route.DynamicRouteTable
Add a route to the table.
ADMIN - Static variable in class ants.core.security.SecurityDefaults
Any change to the name of this object must be reflected in Primordial Node.
ADMIN_PERMISSION - Static variable in class ants.core.security.SecurityDefaults
the "root" permission: this is dangerous
AdminPermission - class ants.core.security.AdminPermission.
Represents the "root" permission.
AdminPermission() - Constructor for class ants.core.security.AdminPermission
 
allocateAddress(Address) - Method in class ants.dante.DanteServer
Allocate a new (unused) address, and a build a provisional gateway
ANEPDemultiplexKeyTester - class tests.ANEPDemultiplexKeyTester.
 
ANEPDemultiplexKeyTester() - Constructor for class tests.ANEPDemultiplexKeyTester
 
ANTS_APP - Static variable in class ants.core.Trace
 
ANTS_CAPSULECHANNEL - Static variable in class ants.core.Trace
 
ANTS_CONSOLE - Static variable in class ants.core.Trace
 
ANTS_DANTE - Static variable in class ants.core.Trace
 
ANTS_DYNLOAD - Static variable in class ants.core.Trace
 
ANTS_NEIGHBOR_TABLE - Static variable in class ants.core.Trace
 
ANTS_OUTGOING - Static variable in class ants.core.Trace
 
ANTS_ROUTE_READ_TABLE - Static variable in class ants.core.Trace
 
ANTS_ROUTE_TIMER - Static variable in class ants.core.Trace
 
ANTS_ROUTE_UPDATE - Static variable in class ants.core.Trace
 
ANTS_ROUTEINFO - Static variable in class ants.core.Trace
 
ANTS_STARTUP - Static variable in class ants.core.Trace
 
ants.core - package ants.core
 
ants.core.security - package ants.core.security
The ANTS internal security implementation.
ants.dante - package ants.dante
 
ants.route - package ants.route
 
ants.util - package ants.util
 
ANTSRDemultiplexKeyTester - class tests.ANTSRDemultiplexKeyTester.
 
ANTSRDemultiplexKeyTester() - Constructor for class tests.ANTSRDemultiplexKeyTester
 
APP_CAPSULE - Static variable in class ants.core.ProtocolBooster
Indicates an application capsule is queued up.
APP_PORT - Static variable in class ants.route.DynamicRouteApp
 
AppBooster - class ants.core.AppBooster.
Cannot be made public.
AppBooster(ClassInstantiationKey) - Constructor for class ants.core.AppBooster
Must have the appropriate key to create an AppBooster.
Application - class ants.core.Application.
Abstract node application.
Application() - Constructor for class ants.core.Application
All applications must have a no-arg constructor as the Node invokes Class.newInstance() to create the application.
apps.mobile - package apps.mobile
 
apps.multicast - package apps.multicast
 
apps.ping - package apps.ping
 
apps.pong - package apps.pong
 
apps.stats - package apps.stats
 
apps.statsfusion - package apps.statsfusion
 
arg(int) - Method in class ants.util.KeyArgs
Return the i'th argument.
arraycopy(Object, int, Object, int, int) - Method in class ants.core.Node
 
Assert - class ants.core.Assert.
Assert-like utility functions including assert(), ensure and require().
Assert.AssertFailure - error ants.core.Assert.AssertFailure.
A run-time Error is thrown if an assert fails.
assert(boolean) - Static method in class ants.core.Assert
 
assert(boolean, String) - Static method in class ants.core.Assert
 
assert(Object) - Static method in class ants.core.Assert
 
AttachException - exception ants.core.AttachException.
Thrown if there is a problem attaching an Application, Extension or Channel to the Node.
AttachException(String) - Constructor for class ants.core.AttachException
 
AVG_PACKETS_PER_SECOND - Static variable in class ants.core.NodeStat
 

B

BasicPolicy - class ants.core.security.BasicPolicy.
A hashtable-based implementation of a security policy that maps principals to permissions.
BasicPolicy() - Constructor for class ants.core.security.BasicPolicy
Creates a blank policy
BOOLEAN - Static variable in class ants.core.Xdr
The length of a boolean in an xdr.
BOOLEAN() - Method in class ants.core.Xdr
 
BOOTSTRAP_USER - Static variable in class ants.core.security.SecurityDefaults
The initial principal for all nodes
branches - Variable in class apps.stats.StatsCapsule
 
branches - Variable in class apps.stats.StatsReturnCapsule
 
branches - Variable in class apps.statsfusion.StatsCapsule
 
branches - Variable in class apps.statsfusion.StatsReturnCapsule
 
buf - Variable in class ants.core.ByteArray
 
BYTE - Static variable in class ants.core.Xdr
The length of a byte in an xdr.
BYTE() - Method in class ants.core.Xdr
 
ByteArray - class ants.core.ByteArray.
Wrapper for an array of Bytes.
BYTEARRAY() - Method in class ants.core.Xdr
 
ByteArray(byte[]) - Constructor for class ants.core.ByteArray
 
ByteArray(byte[], int) - Constructor for class ants.core.ByteArray
 
ByteArray(byte[], int, int) - Constructor for class ants.core.ByteArray
 
BYTEARRAY(ByteArray) - Static method in class ants.core.Xdr
Return the number of bytes required to encode a ByteArray in the xdr.
ByteArray(ByteArray, int) - Constructor for class ants.core.ByteArray
 
ByteArray(ByteArray, int, int) - Constructor for class ants.core.ByteArray
 
ByteArray(int) - Constructor for class ants.core.ByteArray
 
ByteCodeReader - interface ants.util.ByteCodeReader.
This interface maps a fully qualified class name to an array of bytes.
BYTES(byte[], int, int) - Method in class ants.core.Xdr
 

C

cachetime - Variable in class apps.statsfusion.StatsCapsule
 
cachetime - Variable in class apps.statsfusion.StatsReturnCapsule
The number of seconds to wait in the NodeCache before expiring
Capsule - class ants.core.Capsule.
A capsule is a combination of a packet and its forwarding routine; the forwarding routine is executed at every active node the packet visits in the network.
Capsule() - Constructor for class ants.core.Capsule
Create a dull capsule.
CapsuleTester - class tests.CapsuleTester.
 
CapsuleTester() - Constructor for class tests.CapsuleTester
 
capTime - Variable in class apps.stats.StatsReturnCapsule
 
capTime - Variable in class apps.statsfusion.StatsReturnCapsule
 
checkPermission(Principal, Permission) - Static method in class ants.core.security.ReferenceMonitor
Check whether the given principal has a permission.
ClassPathReader - class ants.util.ClassPathReader.
Deprecated. Replaced by the Janos Java NodeOS class loading facilities.
ClassPathReader() - Constructor for class ants.util.ClassPathReader
Deprecated. Use the system property 'java.class.path' as the default classpath to search.
ClassPathReader(String) - Constructor for class ants.util.ClassPathReader
Deprecated. Build a class path from the specified path string
collected() - Method in class ants.core.NodeCache.EventHandler
This is called when this element is up for collection, the return value specifies the new expiration time.
compact() - Method in class ants.util.KeyArgs
Compact the list of key/arg pairs.
compare(TypeID) - Method in class ants.core.TypeID
Compare two TypeIDs
computeFromIDs(TypeID[]) - Static method in class ants.core.TypeID
Compute an ID from a vector of codeIDs.
ConfigurationManager - class ants.core.ConfigurationManager.
A configuration manager that creates a node interface, channel and app configuration.
ConfigurationManager() - Constructor for class ants.core.ConfigurationManager
 
create(Class, Xdr) - Static method in class ants.core.Capsule
Create a new Capsule from the given Xdr.
currentNode() - Static method in class ants.core.Node
Return the Node interface associated with the current flow.
currentPrincipal() - Static method in class ants.core.Node
 

D

DANTE_CLIENT_PORT - Static variable in interface ants.dante.DanteConstants
 
DANTE_SERVER_PORT - Static variable in interface ants.dante.DanteConstants
 
DANTE_USER - Static variable in class ants.core.security.SecurityDefaults
The principal for the dante application
DANTE_VERSION - Static variable in interface ants.dante.DanteConstants
 
DanteCapsule - class ants.dante.DanteCapsule.
Negotiates a dynamic address on behalf of an ABONE edge node.
DanteCapsule() - Constructor for class ants.dante.DanteCapsule
 
DanteCapsule(int, int, int, String, String) - Constructor for class ants.dante.DanteCapsule
 
DanteClient - class ants.dante.DanteClient.
Sends periodic keep-alive messages to the core node in order to resubscribe to its address.
DanteClient() - Constructor for class ants.dante.DanteClient
 
DanteConstants - interface ants.dante.DanteConstants.
 
DanteProtocol - class ants.dante.DanteProtocol.
DANTE protocol
DanteProtocol() - Constructor for class ants.dante.DanteProtocol
 
DanteServer - class ants.dante.DanteServer.
This class dynamically distributes addresses for a core server.
DanteServer() - Constructor for class ants.dante.DanteServer
 
data - Variable in class ants.core.ProtocolRegister.Owner
 
data - Variable in class apps.statsfusion.StatsReturnCapsule
 
DataCapsule - class ants.core.DataCapsule.
Data capsule.
DataCapsule() - Constructor for class ants.core.DataCapsule
 
DataCapsule(short, short, int, ByteArray) - Constructor for class ants.core.DataCapsule
Construct a new DataCapsule.
DataProtocol - class ants.core.DataProtocol.
Data protocol definition, a builtin protocol.
DataProtocol() - Constructor for class ants.core.DataProtocol
 
decode() - Method in class ants.core.Capsule
Decode a capsule header from this Capsule's xdr field.
decode() - Method in class ants.core.DLResponseCapsule
 
decode() - Method in class ants.core.DataCapsule
 
decode() - Method in class ants.dante.DanteCapsule
 
decode() - Method in class ants.route.DynamicRouteCapsule
 
decode() - Method in class apps.mobile.MobileUpdateCapsule
 
decode() - Method in class apps.mobile.MobileCapsule
 
decode() - Method in class apps.multicast.MulticastCapsule
Decode this capsule.
decode() - Method in class apps.multicast.MulticastSubscribeCapsule
Decode this capsule.
decode() - Method in class apps.ping.PingCapsule
 
decode() - Method in class apps.pong.PongCapsule
 
decode() - Method in class apps.stats.StatsCapsule
 
decode() - Method in class apps.stats.StatsReturnCapsule
 
decode() - Method in class apps.statsfusion.StatsCapsule
 
decode() - Method in class apps.statsfusion.StatsReturnCapsule
 
DEFAULT_PORT - Static variable in class ants.core.ConfigurationManager
Default port for channel connections.
defaults - Static variable in class ants.core.Extension
 
defaults - Static variable in class ants.core.Application
Default KeyArgs for an application.
defaults - Static variable in class apps.mobile.MobileApplication
 
deliverToApp(Capsule, int) - Method in class ants.core.Node
Deliver the given capsule to the Application on the given port number.
depth - Variable in class apps.stats.StatsCapsule
 
depth - Variable in class apps.statsfusion.StatsCapsule
 
DLResponseCapsule - class ants.core.DLResponseCapsule.
Demand Load Response capsule.
doTests(Tester) - Static method in class tests.Tester
 
dpt - Variable in class ants.core.DataCapsule
Destination application's port.
dpt - Variable in class apps.stats.StatsCapsule
 
dpt - Variable in class apps.statsfusion.StatsCapsule
 
dpt - Variable in class apps.statsfusion.StatsReturnCapsule
Capsule headers which only occur in the main capsule
DuplicateCapsuleClassException - exception ants.core.DuplicateCapsuleClassException.
Thrown if a CapsuleClass is registered under an already registered name in a Node.
DuplicateCapsuleClassException(String) - Constructor for class ants.core.DuplicateCapsuleClassException
 
DynamicRouteApp - class ants.route.DynamicRouteApp.
The "app" that maintains a node's dynamic routing tables.
DynamicRouteApp() - Constructor for class ants.route.DynamicRouteApp
App constructors can't do anything useful.
DynamicRouteCapsule - class ants.route.DynamicRouteCapsule.
Route update capsule.
DynamicRouteCapsule() - Constructor for class ants.route.DynamicRouteCapsule
Construct an empty DynamicRouteCapsule.
DynamicRouteCapsule(int, String, String, Vector) - Constructor for class ants.route.DynamicRouteCapsule
Create a DynamicRouteCapsule to send to a remote host.
DynamicRouteProtocol - class ants.route.DynamicRouteProtocol.
Route maintenance protocol definition.
DynamicRouteProtocol() - Constructor for class ants.route.DynamicRouteProtocol
 
DynamicRouteTable - class ants.route.DynamicRouteTable.
The ANTS DynamicRouteTable contains all of the state and code for maintaining a dynamic routing table.
DynamicRouteTable(RouteTable) - Constructor for class ants.route.DynamicRouteTable
 

E

ENABLED - Static variable in class ants.core.Trace
 
encode() - Method in class ants.core.Capsule
Encode this capsule's header into a new Xdr.
encode() - Method in class ants.core.DLResponseCapsule
 
encode() - Method in class ants.core.DataCapsule
 
encode() - Method in class ants.dante.DanteCapsule
 
encode() - Method in class ants.route.DynamicRouteCapsule
 
encode() - Method in class apps.mobile.MobileUpdateCapsule
 
encode() - Method in class apps.mobile.MobileCapsule
 
encode() - Method in class apps.multicast.MulticastCapsule
Encode this capsule.
encode() - Method in class apps.multicast.MulticastSubscribeCapsule
Encode this capsule.
encode() - Method in class apps.ping.PingCapsule
 
encode() - Method in class apps.pong.PongCapsule
 
encode() - Method in class apps.stats.StatsCapsule
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
encode() - Method in class apps.stats.StatsReturnCapsule
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
encode() - Method in class apps.statsfusion.StatsCapsule
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
encode() - Method in class apps.statsfusion.StatsReturnCapsule
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
encodeCapsuleForSend(Node) - Method in class ants.core.Capsule
Encode an outgoing capsule.
ensure(boolean) - Static method in class ants.core.Assert
 
ensure(Object) - Static method in class ants.core.Assert
 
enterSection(String) - Method in class tests.Tester
 
Entity - class ants.core.Entity.
An Entity is an abstract class from which all Node-resident "things" are subclassed.
equals(Object) - Method in class ants.core.TypeID
Compare this TypeID with the given one.
equals(Object) - Method in class ants.core.security.Permission
Tests for exact equality: the name and actions must precisely match.
equals(Object) - Method in class ants.core.security.Principal
Case-insensitive equality test.
equals(Object) - Method in class apps.statsfusion.StatsReturnCapsule
Used when a StatsReturnCapsule is held in a NodeCache
ERROR - Static variable in interface ants.dante.DanteConstants
 
evaluate(Node) - Method in class ants.core.Capsule
The forwarding routine for the Capsule.
evaluate(Node) - Method in class ants.core.DLResponseCapsule
Evalute a DLResponseCapsule at this node.
evaluate(Node) - Method in class ants.core.DataCapsule
Forwarding function for DataCapsules.
evaluate(Node) - Method in class ants.dante.DanteCapsule
 
evaluate(Node) - Method in class ants.route.DynamicRouteCapsule
When an update capsule arrives at its destination Node, it gets delivered to the app that maintains the routing table.
evaluate(Node) - Method in class apps.mobile.MobileUpdateCapsule
Update the forwarding information on the foreign and home routers.
evaluate(Node) - Method in class apps.mobile.MobileCapsule
Check for a forwarding address and then ship the packet
evaluate(Node) - Method in class apps.multicast.MulticastCapsule
Process this capsule at the node.
evaluate(Node) - Method in class apps.multicast.MulticastSubscribeCapsule
Process this capsule at the node.
evaluate(Node) - Method in class apps.ping.PingCapsule
 
evaluate(Node) - Method in class apps.pong.PongCapsule
 
evaluate(Node) - Method in class apps.stats.StatsCapsule
 
evaluate(Node) - Method in class apps.stats.StatsReturnCapsule
 
evaluate(Node) - Method in class apps.statsfusion.StatsCapsule
 
evaluate(Node) - Method in class apps.statsfusion.StatsReturnCapsule
 
Extension - class ants.core.Extension.
XXX THIS CLASS IS NEVER USED.
Extension() - Constructor for class ants.core.Extension
Construct a no-name extension.
ExtraKeyArgsError - error ants.util.ExtraKeyArgsError.
 
ExtraKeyArgsError(String) - Constructor for class ants.util.ExtraKeyArgsError
 

F

findExtension(String) - Static method in class ants.core.Capsule
Find a given extension.
findMID(String) - Static method in class ants.core.Capsule
Access point to initialze capsule methodIDs.
findNamedExtension(String) - Static method in class ants.core.Extension
 
findPID(String) - Static method in class ants.core.Capsule
Access point to initialze capsule protocolID.
fromString(String) - Static method in class ants.core.NodeAddress
Generate a 32-bit integer from the given string address.
FullCodeGroupException - exception ants.core.FullCodeGroupException.
Thrown by CodeGroup.add() if the code group is already full.
FullCodeGroupException(String) - Constructor for class ants.core.FullCodeGroupException
 
fuse(StatsReturnCapsule) - Method in class apps.statsfusion.StatsReturnCapsule
Fuses the information from src into this capsule
fusedcapsules - Variable in class apps.statsfusion.StatsReturnCapsule
All capsules fused with this one

G

get(int) - Method in class ants.core.NodeCache
Overloaded get method for integer keys.
get(long) - Method in class ants.core.NodeCache
Overloaded get method for long keys.
get(Object) - Method in class ants.core.NodeCache
Return the value paired with a certain key
get(String) - Method in class ants.util.KeyArgs
Find the arg associated with the given key.
getAction() - Method in class ants.core.security.Permission
Returns the actions as a human-readable string
getAddress() - Method in class ants.core.Node
Return the logical 32-bit IP-like "active" address for this Node.
getByte(int) - Method in class ants.core.ByteArray
 
getBytes(int, byte[], int, int) - Method in class ants.core.ByteArray
 
getCache() - Method in class ants.core.Node
 
getCoreVNA() - Method in class ants.dante.DanteCapsule
 
getData() - Method in class ants.core.DataCapsule
Get the payload associated with this DataCapsule.
getDefaultResources() - Method in class ants.core.Application
Deprecated. use getDefaultTTL()
getDefaultTTL() - Method in class ants.core.Application
 
getDst() - Method in class ants.core.Capsule
Return the destination IP address of this capsule.
getDummy1() - Method in class apps.pong.PongHelper
 
getDummy2() - Method in class apps.pong.PongHelper
 
getEdgePhysAddress() - Method in class ants.dante.DanteCapsule
 
getEdgeProtocol() - Method in class ants.dante.DanteCapsule
 
getEdgeVNA() - Method in class ants.dante.DanteCapsule
 
getInner() - Method in class tests.TestFailedException
 
getName() - Method in class ants.core.security.Permission
 
getName() - Method in class ants.core.security.Principal
 
getNameList() - Static method in class ants.core.Trace
 
getNeighbor(int) - Method in class ants.core.NeighborTable
Return a physical address given a (virtual) active network address.
getNeighbor(Integer) - Method in class ants.core.NeighborTable
Return a physical address given a (virtual) active network address.
getNeighbors() - Method in class ants.core.NeighborTable
Return an enumeration of all the neighbor virtual addresses.
getNeighborTable() - Method in class ants.core.Node
 
getNode() - Method in class ants.core.Application
Redundant accessor method
getNodeAddress() - Method in class ants.core.Application
Return logical ANTS address of the node hosting this application.
getPort() - Method in class ants.core.Application
Get the integer port identifer for this Application.
getPrevious() - Method in class ants.core.Capsule
Get the 32-bit IP address of the active node this packet just came from.
getPrincipal() - Method in class ants.core.Node
Return the security principal associated with this node
getPrincipal() - Method in class ants.core.Application
Returns the security principal.
getRouteTable() - Method in class ants.core.Node
 
getSrc() - Method in class ants.core.Capsule
Return the source IP address of this capsule.
getStat(int) - Method in class ants.core.Node
 
getStat(int) - Method in class ants.core.NodeStat
 
getTTL() - Method in class ants.core.Capsule
Return the TTL-like counter for this capsule.
getType() - Method in class ants.dante.DanteCapsule
 
getVisibleAddressSpec() - Method in class ants.core.Node
Get the address spec that remote nodes can use to communicate with this node.
getVisibleProtocolSpec() - Method in class ants.core.Node
Get the protocol spec that remote nodes can use to communicate with this node.

H

hash() - Method in class ants.util.MD5
 
hash(byte[]) - Static method in class ants.util.MD5
 
hash(byte[], int, int) - Static method in class ants.util.MD5
 
hashCode() - Method in class ants.core.TypeID
 
hashCode() - Method in class ants.core.security.Principal
 
hashCode() - Method in class apps.statsfusion.StatsReturnCapsule
Used when a StatsReturnCapsule is held in a NodeCache
hasPermission(Principal, Permission) - Method in class ants.core.security.Policy
 
hasPermission(Principal, Permission) - Method in class ants.core.security.BasicPolicy
Perform an access control check.
hostname() - Method in class ants.core.Node
Return the string name of the host machine.

I

id - Variable in class ants.core.ProtocolRegister.Owner
 
implies(Permission) - Method in class ants.core.security.Permission
test whether this permission implies the given permission.
implies(Permission) - Method in class ants.core.security.AdminPermission
 
implies(Principal) - Method in class ants.core.security.Principal
This is currently unused.
INFINITY - Static variable in class ants.route.DynamicRouteTable
Maximum cost of travelling to a node.
infosource - Variable in class apps.stats.StatsReturnCapsule
 
infosource - Variable in class apps.statsfusion.StatsReturnCapsule
Capsule headers and statistics returns
INIT - Static variable in interface ants.dante.DanteConstants
 
initializeTables(int, String, RouteTable, NeighborTable) - Static method in class ants.core.RouteTable
Initialize the route table and the neighbor table from the given routeFile.
INT - Static variable in class ants.core.Xdr
The length of a int in an xdr.
INT() - Method in class ants.core.Xdr
 
intern() - Method in class ants.core.TypeID
Intern a TypeID and return its canonical value.
InvalidKeyArgsException - exception ants.util.InvalidKeyArgsException.
 
InvalidKeyArgsException(String) - Constructor for class ants.util.InvalidKeyArgsException
 

J

JOIN - Static variable in interface ants.dante.DanteConstants
 

K

KEEP_ALIVE_FREQUENCY - Static variable in interface ants.dante.DanteConstants
The frequency of keep-alive messages
key(int) - Method in class ants.util.KeyArgs
Return the i'th key.
KeyArgs - class ants.util.KeyArgs.
Keyword argument manipulation utilities.
KeyArgs() - Constructor for class ants.util.KeyArgs
 
KeyArgs(String[]) - Constructor for class ants.util.KeyArgs
 
KeyArgs(String[], int) - Constructor for class ants.util.KeyArgs
 
keyid - Variable in class apps.stats.StatsCapsule
 
keyid - Variable in class apps.statsfusion.StatsCapsule
 
keyid - Variable in class apps.statsfusion.StatsReturnCapsule
 

L

latency - Variable in class apps.stats.StatsReturnCapsule
 
latency - Variable in class apps.statsfusion.StatsReturnCapsule
 
LEAVE - Static variable in interface ants.dante.DanteConstants
 
len - Variable in class ants.core.ByteArray
 
length() - Method in class ants.core.ByteArray
 
length() - Method in class ants.core.Capsule
Return the length of the capsule header that all capsule encodings will include.
length() - Method in class ants.core.Xdr
Return the size of the buffer used by this xdr.
length() - Method in class ants.core.DLResponseCapsule
 
length() - Method in class ants.core.DataCapsule
Return length of this data capsule.
length() - Method in class ants.dante.DanteCapsule
 
length() - Method in class ants.util.KeyArgs
Return the number of key/arg pairs.
length() - Method in class ants.route.DynamicRouteCapsule
The length of this capsule.
length() - Method in class apps.mobile.MobileUpdateCapsule
 
length() - Method in class apps.mobile.MobileCapsule
 
length() - Method in class apps.multicast.MulticastCapsule
Return the length of this capsule.
length() - Method in class apps.multicast.MulticastSubscribeCapsule
Return the length of this capsule.
length() - Method in class apps.ping.PingCapsule
 
length() - Method in class apps.pong.PongCapsule
 
length() - Method in class apps.stats.StatsCapsule
 
length() - Method in class apps.stats.StatsReturnCapsule
 
length() - Method in class apps.statsfusion.StatsCapsule
 
length() - Method in class apps.statsfusion.StatsReturnCapsule
 
LineListException - exception ants.util.LineListException.
 
LineListException(String) - Constructor for class ants.util.LineListException
 
LineListTokenizer - class ants.util.LineListTokenizer.
File reading utility.
LineListTokenizer(Reader) - Constructor for class ants.util.LineListTokenizer
Create a new LineListTokenizer from the given readable Stream.
LineListTokenizer(String) - Constructor for class ants.util.LineListTokenizer
Create a new LineListTokenizer for the given file.
LineListTokenizerTest - class tests.LineListTokenizerTest.
 
LineListTokenizerTest() - Constructor for class tests.LineListTokenizerTest
 
list() - Method in class ants.util.LineListTokenizer
Parse the next non-empty line into an array of strings.
loadPolicy(String) - Static method in class ants.core.security.ReferenceMonitor
Sets the access control policy at startup.
LOCAL_PROTOCOL - Static variable in class ants.core.ProtocolBooster
Indicates a local protocol should be instantiated, the only argument is the name of the protocol class.
LOCAL_SEND - Static variable in class ants.core.security.SecurityDefaults
permission to use the Node's local send method
LOCAL_USERS - Static variable in class ants.core.security.SecurityDefaults
The default principal for local applications and protocols
LOG - Static variable in class ants.core.security.SecurityDefaults
Permission to write to the local log
log(int, String) - Method in class ants.core.Node
Log a message to this Node's "console".
log(int, Throwable) - Method in class ants.core.Node
Log an exception.
logStackTrace(int, Throwable) - Method in class ants.core.Node
Log an exception.
LONG - Static variable in class ants.core.Xdr
The length of a long in an xdr.
LONG() - Method in class ants.core.Xdr
 

M

main(String[]) - Static method in class ants.core.NodeConfigure
This doesn't work.
main(String[]) - Static method in class ants.core.ConfigurationManager
OLD way to start an ANTS node.
main(String[]) - Static method in class ants.core.security.SecurityDefaults
Serializes the default policy and dumps it in a file
markAddress(int, Address) - Method in class ants.dante.DanteServer
Called on receiving a keep-alive update to reset the timeout field.
MAX_FAILURES - Static variable in interface ants.dante.DanteConstants
 
MAX_PACKETS_PER_SECOND - Static variable in class ants.core.NodeStat
 
MAX_TTL - Static variable in class ants.core.Capsule
 
maxwaittime - Variable in class apps.statsfusion.StatsCapsule
The maximum milliseconds to wait before giving up on unresponded nodes; only accurate to the nearest returnwaittime
MD5 - class ants.util.MD5.
Implementation of RSA's MD5 hash generator
MD5() - Constructor for class ants.util.MD5
 
merge(KeyArgs) - Method in class ants.util.KeyArgs
Merge the given set of KeyArgs into the current list.
merge(String[]) - Method in class ants.util.KeyArgs
Merge the given array of strings into the key/arg list.
merge(String[], int) - Method in class ants.util.KeyArgs
Merge the given array of strings into the key/arg list.
mid() - Method in class ants.dante.DanteCapsule
 
MobileApplication - class apps.mobile.MobileApplication.
primitive Mobile test application
MobileApplication() - Constructor for class apps.mobile.MobileApplication
 
MobileCapsule - class apps.mobile.MobileCapsule.
mobile capsule processing - The mobile capsule is used to carry a payload.
MobileCapsule() - Constructor for class apps.mobile.MobileCapsule
 
MobileCapsule(int, short, short, ByteArray) - Constructor for class apps.mobile.MobileCapsule
 
MobileProtocol - class apps.mobile.MobileProtocol.
Mobile protocol definition - The protocol involves two types of capsules, one for carrying actual data, and one for updating forwarding information on routers.
MobileProtocol() - Constructor for class apps.mobile.MobileProtocol
 
MobileUpdateCapsule - class apps.mobile.MobileUpdateCapsule.
Mobile update capsule processor - This will update forwarding information on routers so that MobileCapsules can direct themselves to the proper destination
MobileUpdateCapsule() - Constructor for class apps.mobile.MobileUpdateCapsule
 
MobileUpdateCapsule(int, int, int) - Constructor for class apps.mobile.MobileUpdateCapsule
Construct an update capsule
MODIFY_NEIGHBORS - Static variable in class ants.core.security.SecurityDefaults
Permission to modify the neighbor table
MODIFY_ROUTES - Static variable in class ants.core.security.SecurityDefaults
Permission to modify the routing table
multicast(int) - Static method in class ants.core.NodeAddress
Determine if the given integer address is a multicast address.
MulticastApplication - class apps.multicast.MulticastApplication.
The Multicast test application for ANTSR(R).
MulticastApplication() - Constructor for class apps.multicast.MulticastApplication
 
MulticastCapsule - class apps.multicast.MulticastCapsule.
Multicast capsule processing.
MulticastCapsule() - Constructor for class apps.multicast.MulticastCapsule
 
MulticastCapsule(int, int, short, ByteArray) - Constructor for class apps.multicast.MulticastCapsule
 
MulticastProtocol - class apps.multicast.MulticastProtocol.
Multicast protocol definition
MulticastProtocol() - Constructor for class apps.multicast.MulticastProtocol
 
MulticastSubscribeCapsule - class apps.multicast.MulticastSubscribeCapsule.
Multicast subscription capsule processing
MulticastSubscribeCapsule() - Constructor for class apps.multicast.MulticastSubscribeCapsule
 
MulticastSubscribeCapsule(int, int, short) - Constructor for class apps.multicast.MulticastSubscribeCapsule
 

N

neighborAdded(int, Address) - Method in interface ants.core.NeighborListener
 
neighborAdded(int, Address) - Method in class ants.route.DynamicRouteApp
A neighbor was added to the neighbor table
NeighborListener - interface ants.core.NeighborListener.
Interface for listening to changes in the immediate neighbors list maintained by the NeighborTable.
neighborRemoved(int, Address) - Method in interface ants.core.NeighborListener
 
neighborRemoved(int, Address) - Method in class ants.route.DynamicRouteApp
A neighbor was removed from the neighbor table
NeighborTable - class ants.core.NeighborTable.
The neighbor table maintains a mapping of logical active network addresses to physical Addresses.
NEW_MID - Static variable in class ants.core.ProtocolBooster
Indicates a new MID, arguments are the MID bytes and the previous node that the packet was at.
Node - class ants.core.Node.
The per-flow Node interface.
NodeAddress - class ants.core.NodeAddress.
Routines for manipulating node addresses.
NodeCache - class ants.core.NodeCache.
Node cache of managed soft-state.
NodeCache.EventHandler - class ants.core.NodeCache.EventHandler.
Elements of this type in the node cache will receive calls when one of a set of events occurs.
NodeCache.EventHandler() - Constructor for class ants.core.NodeCache.EventHandler
 
NodeCache(Node, int) - Constructor for class ants.core.NodeCache
Construct a new NodeCache.
NodeConfigure - class ants.core.NodeConfigure.
Performs one-time configuration of a Node to get it on its feet.
NodeConfigure() - Constructor for class ants.core.NodeConfigure
 
NodeHasNoAddressError - error ants.core.NodeHasNoAddressError.
A runtime error thrown when an application or capsule tries to get the address of the node it is executing on, and there is no address yet defined for the node.
NodeHasNoAddressError(String) - Constructor for class ants.core.NodeHasNoAddressError
 
nodessentto - Variable in class apps.stats.StatsReturnCapsule
 
nodessentto - Variable in class apps.statsfusion.StatsReturnCapsule
 
NodeStat - class ants.core.NodeStat.
The NodeStat class is used to store statistics for an entire node.
noMore() - Method in class ants.util.KeyArgs
A handy routine for debugging.
NoSuchApplicationError - error ants.core.NoSuchApplicationError.
Thrown by Node when a packet is delivered to a port on which no application is registered.
NoSuchApplicationError(String) - Constructor for class ants.core.NoSuchApplicationError
 
now - Variable in class apps.stats.StatsCapsule
 
now - Variable in class apps.statsfusion.StatsCapsule
 
numstatsstrings - Variable in class apps.statsfusion.StatsReturnCapsule
 

O

offset - Variable in class ants.core.ByteArray
 

P

PACKETS_RECEIVED - Static variable in class ants.core.NodeStat
 
PACKETS_SENT - Static variable in class ants.core.NodeStat
 
parentnode - Variable in class apps.stats.StatsReturnCapsule
 
parentnode - Variable in class apps.statsfusion.StatsReturnCapsule
 
partial - Variable in class apps.statsfusion.StatsReturnCapsule
 
Permission - class ants.core.security.Permission.
Describes an abstract permission, consisting of a string name and an optional set of actions from the set {read,write,execute}.
Permission(String) - Constructor for class ants.core.security.Permission
Creates a new permission with the given human-readable name and no actions.
Permission(String, String) - Constructor for class ants.core.security.Permission
Creates a permission with a set of actions.
pid() - Method in class ants.dante.DanteCapsule
 
ping - Variable in class apps.ping.PingCapsule
 
PingApplication - class apps.ping.PingApplication.
This was once a version of djw's PingApplication.
PingApplication() - Constructor for class apps.ping.PingApplication
Construct a non-GUI ping app.
PingCapsule - class apps.ping.PingCapsule.
Ping capsule.
PingCapsule() - Constructor for class apps.ping.PingCapsule
 
PingCapsule(short, short, int, ByteArray) - Constructor for class apps.ping.PingCapsule
 
PingProtocol - class apps.ping.PingProtocol.
Ping protocol definition
PingProtocol() - Constructor for class apps.ping.PingProtocol
 
Policy - class ants.core.security.Policy.
The abstract specification of a class that maps principals to permissions.
Policy() - Constructor for class ants.core.security.Policy
 
pong - Variable in class apps.pong.PongCapsule
 
PongApplication - class apps.pong.PongApplication.
Takes most parameters via command line arguments.
PongApplication() - Constructor for class apps.pong.PongApplication
Construct a non-GUI pong app.
PongCapsule - class apps.pong.PongCapsule.
Pong capsule.
PongCapsule() - Constructor for class apps.pong.PongCapsule
 
PongCapsule(short, short, int, ByteArray) - Constructor for class apps.pong.PongCapsule
 
PongHelper - class apps.pong.PongHelper.
 
PongHelper() - Constructor for class apps.pong.PongHelper
 
PongProtocol - class apps.pong.PongProtocol.
Pong protocol definition
PongProtocol() - Constructor for class apps.pong.PongProtocol
 
prime(Capsule) - Method in class ants.core.Capsule
Prime this capsule for transmission.
Principal - class ants.core.security.Principal.
Represents a resource principal: something that has access to resources (i.e., administrator, John Smith, etc.).
Principal(String) - Constructor for class ants.core.security.Principal
 
Protocol - class ants.core.Protocol.
Base class for all protocols.
Protocol() - Constructor for class ants.core.Protocol
 
ProtocolBooster - class ants.core.ProtocolBooster.
Must be public as its the entrypoint for a new flow from the Java NodeOS.
ProtocolBooster(ClassInstantiationKey) - Constructor for class ants.core.ProtocolBooster
 
ProtocolRegister.Owner - class ants.core.ProtocolRegister.Owner.
A simple class used to define the owner of a protocol.
ProtocolRegister.Owner(String, String) - Constructor for class ants.core.ProtocolRegister.Owner
 
ProtocolTester - class tests.ProtocolTester.
 
ProtocolTester() - Constructor for class tests.ProtocolTester
 
PUT(boolean) - Method in class ants.core.Xdr
Encode the given boolean into this xdr.
PUT(byte) - Method in class ants.core.Xdr
 
PUT(byte[], int, int) - Method in class ants.core.Xdr
 
PUT(ByteArray) - Method in class ants.core.Xdr
 
PUT(int) - Method in class ants.core.Xdr
 
put(int, Object, int) - Method in class ants.core.NodeCache
Overloaded put method for integer keys.
PUT(long) - Method in class ants.core.Xdr
 
put(long, Object, int) - Method in class ants.core.NodeCache
Overloaded put method for long keys.
put(Object, Object, int) - Method in class ants.core.NodeCache
Add a key/value pair to the cache with a given expiration time.
PUT(short) - Method in class ants.core.Xdr
 
PUT(String) - Method in class ants.core.Xdr
 
PUT(TypeID) - Method in class ants.core.Xdr
 

R

RAW_SEND - Static variable in class ants.core.security.SecurityDefaults
permission to send to directly to neighbor, bypassing TTL and source checks
READ_NEIGHBORS - Static variable in class ants.core.security.SecurityDefaults
Permission to read the neighbor table
READ_PHYSICAL_ADDRESS_SPEC - Static variable in class ants.core.security.SecurityDefaults
permission to read the local node's physical address
READ_PHYSICAL_PROTOCOL_SPEC - Static variable in class ants.core.security.SecurityDefaults
permission to read the local node's physical connection spec
readByteCode(String) - Method in class ants.util.ClassPathReader
Deprecated. Resolve a class name of the form foo.bar.baz Searches the classpath given to the constructor.
readByteCode(String) - Method in interface ants.util.ByteCodeReader
Read byte code.
receive(Capsule) - Method in class ants.core.Application
Callback for packets that are delivered to this application.
receive(Capsule) - Method in class ants.dante.DanteServer
 
receive(Capsule) - Method in class ants.dante.DanteClient
 
receive(Capsule) - Method in class ants.route.DynamicRouteApp
Receive and process RouteUpdateCapsule.
receive(Capsule) - Method in class apps.mobile.MobileApplication
 
receive(Capsule) - Method in class apps.multicast.MulticastApplication
 
receive(Capsule) - Method in class apps.ping.PingApplication
Invoked when packets are received.
receive(Capsule) - Method in class apps.pong.PongApplication
Invoked when packets are received.
receive(Capsule) - Method in class apps.stats.StatsApplication
Handle the incoming capsule and tell it to print its information
receive(Capsule) - Method in class apps.statsfusion.StatsApplication
Handle the incoming capsule and tell it to print its information
ReferenceMonitor - class ants.core.security.ReferenceMonitor.
This class serves as the interface to a basic reference monitor.
ReferenceMonitor() - Constructor for class ants.core.security.ReferenceMonitor
 
ReferenceMonitorException - exception ants.core.security.ReferenceMonitorException.
Raised to signal an access control violation.
ReferenceMonitorException() - Constructor for class ants.core.security.ReferenceMonitorException
 
ReferenceMonitorException(String) - Constructor for class ants.core.security.ReferenceMonitorException
 
REFRESH - Static variable in interface ants.dante.DanteConstants
 
refresh(Object, int) - Method in class ants.core.NodeCache
 
register(Protocol) - Method in class ants.core.Node
Just calls register(Protocol,Principal) with a default Principal (SecuirtyDefaults.REMOTE_USERS).
register(Protocol, Principal) - Method in class ants.core.Node
Called by applications that want to instantiate a locally originiating protocol.
registerNamedExtension(String) - Static method in class ants.core.Extension
 
REMOTE_USERS - Static variable in class ants.core.security.SecurityDefaults
The default principal for dynamicaly loaded protocols
remove(Object) - Method in class ants.core.NodeCache
Remove an association from the cache.
removed() - Method in class ants.core.NodeCache.EventHandler
This is called when the element is manually removed from from the cache.
removekey - Variable in class apps.statsfusion.StatsReturnCapsule
An arbitrary number used to single out this capsule from other return capsules in a node cache
removeNeighbor(int) - Method in class ants.core.NeighborTable
remove an immediate neighbor, and notify and listeners.
removeNeighborListener(NeighborListener) - Method in class ants.core.NeighborTable
 
removePermission(Principal, Permission) - Method in class ants.core.security.Policy
 
removePermission(Principal, Permission) - Method in class ants.core.security.BasicPolicy
Remove a permission from a given principal.
removePrincipal(Principal) - Method in class ants.core.security.Policy
 
removePrincipal(Principal) - Method in class ants.core.security.BasicPolicy
Remove all permissions for the given principal
removeRoute(DynamicRouteEntry) - Method in class ants.route.DynamicRouteTable
Remove a route from the table.
require(boolean) - Static method in class ants.core.Assert
 
require(Object) - Static method in class ants.core.Assert
 
ResourceLimitException - exception ants.core.ResourceLimitException.
A runtime exception thrown when a capsule has consumed all of its allocated resource quota.
ResourceLimitException(String) - Constructor for class ants.core.ResourceLimitException
 
RESPONSE - Static variable in interface ants.dante.DanteConstants
 
returnAddress(int) - Method in class ants.dante.DanteServer
Return a timed-out address to the pool.
returnwaittime - Variable in class apps.statsfusion.StatsCapsule
The maximum milliseconds to wait for unreturned capsules before sending what has been accumlated so far
rootaddress - Variable in class apps.stats.StatsCapsule
 
rootaddress - Variable in class apps.statsfusion.StatsCapsule
 
rootaddress - Variable in class apps.statsfusion.StatsReturnCapsule
 
ROUTE_USER - Static variable in class ants.core.security.SecurityDefaults
The default principal for the routing application
routeForNode(Capsule, int) - Method in class ants.core.Node
Route a capsule for a particular destination.
RouteTable - class ants.core.RouteTable.
The basic ANTS route table.
RouteTable() - Constructor for class ants.core.RouteTable
 
run() - Method in class ants.core.NodeCache
Run forever, collecting expired objects.
run() - Method in class ants.dante.DanteServer
Clear the use bits after each timeout period.
run() - Method in class ants.dante.DanteClient
 
run() - Method in class apps.mobile.MobileApplication
Send packets to the mobile host, hopefully they get routed correctly
run() - Method in class apps.ping.PingApplication
 
run() - Method in class apps.pong.PongApplication
 
run() - Method in class apps.stats.StatsApplication
Sends out the root request capsules to all neighboring nodes then sleeps forever
run() - Method in class apps.statsfusion.StatsApplication
Sends out the root request capsules to all neighboring nodes then sleeps forever
run(Flow, String[], CommSpaceHandle) - Method in class ants.core.ProtocolBooster
The entrypoint invoked in the context of the new flow.

S

SecurityDefaults - class ants.core.security.SecurityDefaults.
Represents a set of built-in access control defaults.
SecurityDefaults() - Constructor for class ants.core.security.SecurityDefaults
 
send(Capsule) - Method in class ants.core.Node
Inject a given capsule into the network via the local node.
send(Capsule) - Method in class ants.core.Application
Send the given capsule.
send(Capsule, int) - Method in class ants.core.Application
Send the given capsule with the given resource limit.
sendToNeighbor(Capsule, int) - Method in class ants.core.Node
Send a capsule to an adjacent node.
seqId - Variable in class apps.ping.PingCapsule
Sequence number for the ping capsule.
seqId - Variable in class apps.pong.PongCapsule
Sequence number for the pong capsule.
SET_ADDRESS - Static variable in class ants.core.security.SecurityDefaults
permission to set the local address of the node
set(String, String) - Method in class ants.util.KeyArgs
Set the arg for key.
setAddress(int) - Method in class ants.core.Node
Set the logical 32-bit address for this (and every) node This method assumes synchronization is provided elsewhere if this is necessary.
setArgs(KeyArgs) - Method in class ants.core.Extension
 
setArgs(KeyArgs) - Method in class ants.core.Application
Parse command line arguments for this application.
setArgs(KeyArgs) - Method in class ants.dante.DanteServer
 
setArgs(KeyArgs) - Method in class ants.dante.DanteClient
 
setArgs(KeyArgs) - Method in class ants.route.DynamicRouteApp
Parse command line arguments.
setArgs(KeyArgs) - Method in class apps.mobile.MobileApplication
 
setArgs(KeyArgs) - Method in class apps.multicast.MulticastApplication
 
setArgs(KeyArgs) - Method in class apps.ping.PingApplication
Parse command line arguments.
setArgs(KeyArgs) - Method in class apps.pong.PongApplication
Parse command line arguments.
setArgs(KeyArgs) - Method in class apps.stats.StatsApplication
Parse command line arguments.
setArgs(KeyArgs) - Method in class apps.statsfusion.StatsApplication
Parse command line arguments.
setByte(int, byte) - Method in class ants.core.ByteArray
 
setBytes(int, byte[], int, int) - Method in class ants.core.ByteArray
 
setBytes(int, ByteArray, int, int) - Method in class ants.core.ByteArray
 
setCoreVNA(int) - Method in class ants.dante.DanteCapsule
 
setData(ByteArray) - Method in class ants.core.DataCapsule
Set the payload associated with this DataCapsule.
setData(ByteArray) - Method in class apps.statsfusion.StatsReturnCapsule
 
setDefaultResources(int) - Method in class ants.core.Application
Deprecated. use setDefaultTTL(int)
setDefaultTTL(int) - Method in class ants.core.Application
 
setDst(int) - Method in class ants.core.Capsule
Set the destination IP address of this capsule.
setDummy1(int) - Method in class apps.pong.PongHelper
 
setDummy2(int) - Method in class apps.pong.PongHelper
 
setEdgeVNA(int) - Method in class ants.dante.DanteCapsule
 
setFlags(String) - Static method in class ants.core.Trace
 
setHalt(boolean) - Method in class ants.dante.DanteClient
 
setType(int) - Method in class ants.dante.DanteCapsule
 
SHORT - Static variable in class ants.core.Xdr
The length of a short in an xdr.
SHORT() - Method in class ants.core.Xdr
 
showInformation(Node) - Method in class apps.stats.StatsReturnCapsule
Print out the information that is contained in this capsule
showInformation(StatsReturnCapsule, Node) - Method in class apps.statsfusion.StatsReturnCapsule
Print out the information that is contained in this capsule
SHUTDOWN - Static variable in class ants.core.security.SecurityDefaults
Permission to shutdown the node
shutdown() - Method in class ants.core.Node
Shutdown this Node.
skip(int) - Method in class ants.core.Xdr
 
sleep(long) - Method in class ants.core.Node
Have the calling thread sleep for at least the given number of milliseconds.
sortArray(TypeID[]) - Static method in class ants.core.TypeID
Sort an array of TypeIDs.
spt - Variable in class ants.core.DataCapsule
Source application's port.
START_THREAD - Static variable in class ants.core.security.SecurityDefaults
permission to start up a thread
start() - Method in class ants.core.Application
Start this Application rolling.
start() - Method in class ants.dante.DanteServer
 
start() - Method in class ants.dante.DanteClient
 
start() - Method in class ants.route.DynamicRouteApp
The active route table logic.
start() - Method in class apps.mobile.MobileApplication
 
start() - Method in class apps.multicast.MulticastApplication
 
start() - Method in class apps.ping.PingApplication
Start the Non-GUI ping app.
start() - Method in class apps.pong.PongApplication
Start the Non-GUI pong app.
start() - Method in class apps.stats.StatsApplication
Register the protocol and start the thread
start() - Method in class apps.statsfusion.StatsApplication
Register the protocol and start the thread
start() - Method in class tests.Tester
 
STARTUP_TIME - Static variable in class ants.core.NodeStat
 
STAT_MAX - Static variable in class ants.core.NodeStat
 
StatsApplication - class apps.stats.StatsApplication.
This application transverses the network, starting with the node it is run from and returns statistics from all reachable nodes within a specifiable depth
StatsApplication - class apps.statsfusion.StatsApplication.
This application transverses the network, starting with the node it is run from and returns statistics from all reachable nodes within a specifiable depth
StatsApplication() - Constructor for class apps.stats.StatsApplication
Construct a non-GUI stats app.
StatsApplication() - Constructor for class apps.statsfusion.StatsApplication
Construct a non-GUI stats app.
StatsCapsule - class apps.stats.StatsCapsule.
Stats request capsule.
StatsCapsule - class apps.statsfusion.StatsCapsule.
Stats request capsule.
StatsCapsule() - Constructor for class apps.stats.StatsCapsule
 
StatsCapsule() - Constructor for class apps.statsfusion.StatsCapsule
 
StatsCapsule(int) - Constructor for class apps.stats.StatsCapsule
 
StatsCapsule(int) - Constructor for class apps.statsfusion.StatsCapsule
 
StatsProtocol - class apps.stats.StatsProtocol.
Stats protocol definition
StatsProtocol - class apps.statsfusion.StatsProtocol.
Stats protocol definition
StatsProtocol() - Constructor for class apps.stats.StatsProtocol
 
StatsProtocol() - Constructor for class apps.statsfusion.StatsProtocol
 
StatsReturnCapsule - class apps.stats.StatsReturnCapsule.
Stats return capsule.
StatsReturnCapsule - class apps.statsfusion.StatsReturnCapsule.
Stats return capsule.
StatsReturnCapsule() - Constructor for class apps.stats.StatsReturnCapsule
 
StatsReturnCapsule() - Constructor for class apps.statsfusion.StatsReturnCapsule
 
StatsReturnCapsule(int) - Constructor for class apps.stats.StatsReturnCapsule
 
StatsReturnCapsule(int) - Constructor for class apps.statsfusion.StatsReturnCapsule
 
StatsReturnCapsule(long, int) - Constructor for class apps.statsfusion.StatsReturnCapsule
Constructor used when StatsReturnCapsule is sitting in the node cache
StatsReturnCapsule(short, short, int, ByteArray) - Constructor for class apps.stats.StatsReturnCapsule
 
StatsReturnCapsule(short, short, int, Node) - Constructor for class apps.statsfusion.StatsReturnCapsule
 
statsstrings - Variable in class apps.statsfusion.StatsReturnCapsule
 
strike(int) - Method in class ants.util.KeyArgs
Strike the i'th key/arg pair from the list.
STRING() - Method in class ants.core.Xdr
 
STRING(String) - Static method in class ants.core.Xdr
Return the number of bytes required t encode x in the xdr.
subdecode(Xdr) - Method in class apps.statsfusion.StatsReturnCapsule
Subencode is called on each fused capsule and the parent capsule to decode only the capsules data.
subencode(Xdr) - Method in class apps.statsfusion.StatsReturnCapsule
Subencode is called on each fused capsule and the parent capsule to encode only its own data
sublength() - Method in class apps.statsfusion.StatsReturnCapsule
Sublength is called on each fused capsule and the parent capsule to get the length of just that capsule

T

test(boolean) - Method in class tests.Tester
 
Tester - class tests.Tester.
 
Tester() - Constructor for class tests.Tester
 
TestFailedException - exception tests.TestFailedException.
 
TestFailedException(String) - Constructor for class tests.TestFailedException
 
TestFailedException(String, Throwable) - Constructor for class tests.TestFailedException
 
tests - package tests
The tests package contains simple regression tests that are used by the regression testing suite.
testUnit() - Method in class tests.Tester
 
testUnit() - Method in class tests.CapsuleTester
 
testUnit() - Method in class tests.LineListTokenizerTest
 
testUnit() - Method in class tests.ANEPDemultiplexKeyTester
 
testUnit() - Method in class tests.ProtocolTester
 
testUnit() - Method in class tests.ANTSRDemultiplexKeyTester
 
thisNode() - Method in class ants.core.Extension
 
thisNode() - Method in class ants.core.Application
Return the Node interface customized for this application.
threadStart(Runnable) - Method in class ants.core.Node
 
threadStart(Runnable, String) - Method in class ants.core.Node
Start a new thread executing the given Runnable.
time() - Method in class ants.core.Node
Return the current time in milliseconds.
TIMEOUT - Static variable in interface ants.dante.DanteConstants
The timeout age for stale gateways
toBytes() - Method in class ants.core.ByteArray
Returns a byte array exactly the right size for the valid data in the buf.
toShortString(byte[]) - Static method in class ants.util.MD5
 
toString() - Method in class ants.core.ProtocolRegister.Owner
 
toString() - Method in class ants.core.NodeCache
 
toString() - Method in class ants.core.Node
 
toString() - Method in class ants.core.Entity
 
toString() - Method in class ants.core.Protocol
Return a string representation of this Protocol.
toString() - Method in class ants.core.Application
 
toString() - Method in class ants.core.ByteArray
 
toString() - Method in class ants.core.Capsule
String representation of a Capsule.
toString() - Method in class ants.core.DLResponseCapsule
 
toString() - Method in class ants.core.DataCapsule
 
toString() - Method in class ants.core.TypeID
 
toString() - Method in class ants.core.security.Permission
 
toString() - Method in class ants.core.security.Principal
 
toString() - Method in class ants.util.ClassPathReader
Deprecated. convert to printable form
toString() - Method in class ants.util.KeyArgs
Generate a nice, readable string representation of the key/arg pairs.
toString() - Method in class ants.route.DynamicRouteCapsule
 
toString(byte[]) - Static method in class ants.util.MD5
 
toString(int) - Static method in class ants.core.NodeAddress
Generate a string representation of the given address.
toStrings() - Method in class ants.util.KeyArgs
Generate an array of Strings, one for each Key/Arg pair.
Trace - class ants.core.Trace.
Trace class for the various trace macros spread about the ANTS source.
Trace() - Constructor for class ants.core.Trace
 
trace(int, String) - Static method in class ants.core.Trace
 
TypeID - class ants.core.TypeID.
Capsule, CapsuleClass, CodeGroup and Protocol identifiers.
TYPEID - Static variable in class ants.core.Xdr
The length of a typeid in an xdr.
TYPEID() - Method in class ants.core.Xdr
 
TypeID(byte[], int) - Constructor for class ants.core.TypeID
Construct a new TypeID and initialize by deep copy.

U

UNDEFINED - Static variable in interface ants.dante.DanteConstants
 
unwrap() - Method in class ants.core.TypeID
Unwrap this TypeID, returning the inner byte array.
update(byte[]) - Method in class ants.util.MD5
 
update(byte[], int, int) - Method in class ants.util.MD5
 
update(String) - Method in class ants.util.MD5
 

V

VERSION - Static variable in class ants.core.DLResponseCapsule
 
VERSION - Static variable in class ants.core.DataCapsule
WARNING: this is a builtin capsule, whose version number must be manually kept in synch with its functionality.

W

wrap(byte[]) - Static method in class ants.core.TypeID
Construct and initialize by shallow copy.

X

Xdr - class ants.core.Xdr.
An Xdr instance encapsulates an external, byte-oriented data structure (an "External Data Representation".) Xdr's can include Strings, byte arrays, booleans, bytes, shorts, ints, longs, TypeIDs.
Xdr(byte[]) - Constructor for class ants.core.Xdr
Create a new xdr using the given buffer.
Xdr(byte[], int) - Constructor for class ants.core.Xdr
Create a new xdr using the given portion of the given buffer.
Xdr(byte[], int, int) - Constructor for class ants.core.Xdr
Create a new xdr using the given portion of the given buffer.
Xdr(ByteArray, int) - Constructor for class ants.core.Xdr
Create a new xdr using the buffer in the given ByteArray.
Xdr(ByteArray, int, int) - Constructor for class ants.core.Xdr
Create a new xdr using the buffer in the given ByteArray.
Xdr(int) - Constructor for class ants.core.Xdr
Create a new xdr with a buffer of len bytes for encoding.

A B C D E F G H I J K L M N O P R S T U V W X
ANTS v2.0 API

This documentation is Copyright (C) 1998-2001 The University of Utah and the University of Washington. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for ANTS v2.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/