A B C D E F G H I K L M N O P R S T U V W X

A

add(StunAttr) - Method in class org.xlattice.protocol.stun.StunMsg
Add a TLV16 attribute to the message, updating the header's length field.
add(XLAttr) - Method in class org.xlattice.protocol.xl.XLMsg
Add a TLV16 attribute to the message, updating the header's length field.
addr - Variable in class org.xlattice.protocol.stun.Outgoing
 
addr - Variable in class org.xlattice.protocol.stun.UserName
 
AddrAttr - Class in org.xlattice.protocol.stun
Superclass for attributes carrying IPv4 address and ports.
AddrAttr(int, Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.AddrAttr
 
amsIXServer - Variable in class org.xlattice.protocol.stun.GUIClient
 
attrs - Variable in class org.xlattice.protocol.stun.UnknownAttributes
 
authenticating - Variable in class org.xlattice.protocol.stun.GUIClient
 
authMenuItem - Variable in class org.xlattice.protocol.stun.GUIClient
 

B

badArg(String) - Method in class org.xlattice.protocol.stun.SecretServer
 
BadAttr - Class in org.xlattice.protocol.stun
This is for testing only; types are restricted to 0x7000 - 0x700f.
BadAttr(int, byte[]) - Constructor for class org.xlattice.protocol.stun.BadAttr
 
bind(int) - Method in class org.xlattice.protocol.stun.Client
Get a binding from one of the four UDP binding servers.
BINDING_ERROR_RESPONSE - Static variable in interface org.xlattice.protocol.stun.StunConst
 
BINDING_REQUEST - Static variable in interface org.xlattice.protocol.stun.StunConst
 
BINDING_RESPONSE - Static variable in interface org.xlattice.protocol.stun.StunConst
 
BindingErrorResponse - Class in org.xlattice.protocol.stun
 
BindingErrorResponse() - Constructor for class org.xlattice.protocol.stun.BindingErrorResponse
 
BindingErrorResponse(byte[]) - Constructor for class org.xlattice.protocol.stun.BindingErrorResponse
 
bindingLifetime() - Method in class org.xlattice.protocol.stun.Client
Spend a lot of time guesstimating how long a port binding lasts.
BindingRequest - Class in org.xlattice.protocol.stun
 
BindingRequest() - Constructor for class org.xlattice.protocol.stun.BindingRequest
 
BindingRequest(byte[]) - Constructor for class org.xlattice.protocol.stun.BindingRequest
 
BindingResponse - Class in org.xlattice.protocol.stun
A BindingResponse must have MappedAddress, SourceAddress, and ChangedAddress attributes.
BindingResponse() - Constructor for class org.xlattice.protocol.stun.BindingResponse
 
BindingResponse(byte[]) - Constructor for class org.xlattice.protocol.stun.BindingResponse
 
BindingSender - Class in org.xlattice.protocol.stun
A BindingSender manages a queue of outgoing messages, sending each from its address/port combination to the desired target.
BindingSender(Inet4Address, int, String) - Constructor for class org.xlattice.protocol.stun.BindingSender
 
BindingSender(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.BindingSender
 
BindingServer - Class in org.xlattice.protocol.stun
A simple stateless single-threaded server that receives STUN messages on a UDP port and relays replies through an array of BindingSenders.
BindingServer(DatagramSocket, Inet4Address, int, Inet4Address, int, SecretKey, SecretKey, boolean, BindingSender[], String, boolean) - Constructor for class org.xlattice.protocol.stun.BindingServer
Creates a binding server which listens on the socket passed and optionally permits or enforces authentication.
BindingServer(DatagramSocket, Inet4Address, int, Inet4Address, int, SecretKey, SecretKey, boolean, BindingSender[], boolean) - Constructor for class org.xlattice.protocol.stun.BindingServer
 
BODY_LENGTH - Static variable in class org.xlattice.protocol.stun.UserName
 
BOTTOM_MASK - Static variable in interface org.xlattice.protocol.xl.XLConst
 
BUFSIZE - Static variable in class org.xlattice.protocol.stun.SecretServer
 

C

CHANGE_IP - Static variable in interface org.xlattice.protocol.stun.StunConst
change request parameters; get ORed together
CHANGE_PORT - Static variable in interface org.xlattice.protocol.stun.StunConst
 
CHANGE_REQUEST - Static variable in interface org.xlattice.protocol.stun.StunConst
 
CHANGED_ADDRESS - Static variable in interface org.xlattice.protocol.stun.StunConst
 
ChangedAddress - Class in org.xlattice.protocol.stun
 
ChangedAddress(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.ChangedAddress
 
ChangeRequest - Class in org.xlattice.protocol.stun
 
ChangeRequest(int) - Constructor for class org.xlattice.protocol.stun.ChangeRequest
 
Client - Class in org.xlattice.protocol.stun
An RFC 3489 STUN client with a command-line interface.
Client(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.Client
 
Client(Inet4Address, int, boolean, boolean) - Constructor for class org.xlattice.protocol.stun.Client
Client instance logging to default directory and using a default local address and ephemeral port number.
Client(Inet4Address, int, Inet4Address, int, String, boolean, boolean) - Constructor for class org.xlattice.protocol.stun.Client
Client instance.
Client.Foursome - Class in org.xlattice.protocol.stun
 
Client.Foursome(int, int, String, int) - Constructor for class org.xlattice.protocol.stun.Client.Foursome
 
Client.FoursomeComp - Class in org.xlattice.protocol.stun
 
Client.FoursomeComp() - Constructor for class org.xlattice.protocol.stun.Client.FoursomeComp
 
clientLog - Variable in class org.xlattice.protocol.stun.Client
 
close() - Method in class org.xlattice.protocol.stun.BindingSender
Closes the Acceptor and then blocks until this thread stops running.
close() - Method in class org.xlattice.protocol.stun.BindingServer
Closes the Socket and then blocks until this thread stops running.
close() - Method in class org.xlattice.protocol.stun.Client
 
close() - Method in class org.xlattice.protocol.stun.SecretServer
Closes the Acceptor and then blocks until this thread stops running.
close() - Method in class org.xlattice.protocol.stun.Server
 
code - Variable in class org.xlattice.protocol.stun.ErrorCode
 
codes - Static variable in class org.xlattice.protocol.stun.ErrorCode
 
compare(Object, Object) - Method in class org.xlattice.protocol.stun.Client.FoursomeComp
 
Contact - Class in org.xlattice.protocol.xlkad
 
Contact(byte[], InetAddress, int) - Constructor for class org.xlattice.protocol.xlkad.Contact
 
createGUI(String) - Static method in class org.xlattice.protocol.stun.GUIClient
 
createXLattice() - Static method in class org.xlattice.protocol.stun.GUIClient
Frivolity: create a 16x16 XLattice graphic.

D

decode(byte[], int) - Static method in class org.xlattice.protocol.stun.StunAttr
 
decode(byte[]) - Static method in class org.xlattice.protocol.stun.StunMsg
 
decode(SecretKey, byte[], int) - Static method in class org.xlattice.protocol.stun.UserName
 
decode(int, byte[], int) - Static method in class org.xlattice.protocol.TLV
 
decode(byte[], int) - Static method in class org.xlattice.protocol.TLV16
 
decode(byte[], int) - Static method in class org.xlattice.protocol.xl.XLAttr
 
decode(byte[]) - Static method in class org.xlattice.protocol.xl.XLMsg
 
decodeAttr(StunMsg, byte[], int) - Static method in class org.xlattice.protocol.stun.StunMsg
Read and attach attributes to previously deserialized header.
decodeAttr(XLMsg, byte[], int) - Static method in class org.xlattice.protocol.xl.XLMsg
Read and attach attributes to previously deserialized header.
decodeValue(int, byte[], int) - Static method in class org.xlattice.protocol.stun.AddrAttr
Type and length (=8) have already been decoded.
decodeValue(int, byte[], int) - Static method in class org.xlattice.protocol.stun.ErrorCode
Type and length have already been decoded.
decodeValue(int, byte[], int) - Static method in class org.xlattice.protocol.stun.UnknownAttributes
Type and length have already been decoded.
decodeValue(int, int, byte[], int) - Static method in class org.xlattice.protocol.stun.ValueAttr
Type and length have already been decoded.
Destination - Class in org.xlattice.protocol.xl
 
Destination(byte[]) - Constructor for class org.xlattice.protocol.xl.Destination
 
Destination(NodeID) - Constructor for class org.xlattice.protocol.xl.Destination
 
DESTINATION - Static variable in interface org.xlattice.protocol.xl.XLConst
 
discoverServers(String, String, boolean) - Static method in class org.xlattice.protocol.stun.Client
Discover the STUN server for a given domain, using a particular recursive name server for the search.
discoverServers(String, boolean) - Static method in class org.xlattice.protocol.stun.Client
 
distance(KadID) - Method in class org.xlattice.protocol.xlkad.KadID
 
distance(NodeID) - Method in class org.xlattice.protocol.xlkad.KadNode
 
doBindingLifetime() - Method in class org.xlattice.protocol.stun.GUIClient
 
doCheckNAT() - Method in class org.xlattice.protocol.stun.GUIClient
 
doDiscoverServers() - Method in class org.xlattice.protocol.stun.GUIClient
 
domainName - Variable in class org.xlattice.protocol.stun.GUIClient
 
doSendRecv(DatagramPacket, DatagramSocket, int, byte[], byte[]) - Method in class org.xlattice.protocol.stun.Client
 

E

encode(byte[]) - Method in class org.xlattice.protocol.stun.StunMsg
 
encode(Random, SecretKey, byte[], int) - Method in class org.xlattice.protocol.stun.UserName
 
encode(Inet4Address, int, Random, SecretKey, byte[], int) - Static method in class org.xlattice.protocol.stun.UserName
 
encode(byte[], int) - Method in class org.xlattice.protocol.TLV
Write this TLV onto the message buffer at the offset indicated.
encode(byte[]) - Method in class org.xlattice.protocol.xl.XLMsg
 
equals(Object) - Method in class org.xlattice.protocol.stun.NattedAddress
 
equals(Object) - Method in class org.xlattice.protocol.xl.MessageID
 
errMsg(String) - Method in class org.xlattice.protocol.stun.GUIClient
 
errMsg(String, String) - Method in class org.xlattice.protocol.stun.GUIClient
 
ERROR_CODE - Static variable in interface org.xlattice.protocol.stun.StunConst
 
ErrorCode - Class in org.xlattice.protocol.stun
STUN attribute carrying an error code and a string explanation.
ErrorCode(int) - Constructor for class org.xlattice.protocol.stun.ErrorCode
 
errorValues - Static variable in class org.xlattice.protocol.stun.ErrorCode
 
EXP_MASK - Static variable in interface org.xlattice.protocol.xl.XLConst
these fields are not shifted

F

fetchUserNameAndPassword() - Method in class org.xlattice.protocol.stun.Client
XXX NEEDS TO THROW AN EXCEPTION if not authenticating.
fieldSize - Variable in class org.xlattice.protocol.TLV
 
FULL_CONE - Static variable in class org.xlattice.protocol.stun.Client
 
fwdnetServer - Variable in class org.xlattice.protocol.stun.GUIClient
 

G

generate(SecretKey, byte[]) - Static method in class org.xlattice.protocol.stun.Password
Given the second STUN secret key and an encoded UserName, returns the corresponding password, an HMAC-SHA1 computed from the UserName using the secret.
generate(Inet4Address, int, Random, SecretKey) - Static method in class org.xlattice.protocol.stun.UserName
 
get(int) - Method in class org.xlattice.protocol.stun.StunMsg
 
get(int) - Method in class org.xlattice.protocol.xl.XLMsg
 
getAddress() - Method in class org.xlattice.protocol.stun.AddrAttr
 
getChangeFlags() - Method in class org.xlattice.protocol.stun.Client
 
getClientAddr() - Method in class org.xlattice.protocol.stun.Client
 
getInet4Addr(String) - Method in class org.xlattice.protocol.stun.GUIClient
 
getIPAddr(String) - Static method in class org.xlattice.protocol.stun.Client
 
getLocalHost() - Method in class org.xlattice.protocol.stun.NattedAddress
 
getLocalPort() - Method in class org.xlattice.protocol.stun.NattedAddress
 
getMappedAddr() - Method in class org.xlattice.protocol.stun.Client
 
getMappedHost() - Method in class org.xlattice.protocol.stun.NattedAddress
 
getMappedPort() - Method in class org.xlattice.protocol.stun.NattedAddress
 
getMsgID() - Method in class org.xlattice.protocol.stun.StunMsg
 
getMsgID() - Method in class org.xlattice.protocol.xl.XLMsg
 
getNatDescription() - Method in class org.xlattice.protocol.stun.Client
Returns a String description of the NAT type, possibly with embedded newlines, and newline-terminated.
getNattedAddress() - Method in class org.xlattice.protocol.stun.Client
Determines the NAT type and returns it in a NattedAddress, which contains the local address (host and port number) and the mapped address if different.
getNatType() - Method in class org.xlattice.protocol.stun.NattedAddress
 
getPassword() - Method in class org.xlattice.protocol.stun.Client
 
getPort() - Method in class org.xlattice.protocol.stun.AddrAttr
 
getPort() - Method in class org.xlattice.protocol.stun.Client
Deprecated. and redundant; use getNattedAddress() instead
getPort(String) - Static method in class org.xlattice.protocol.stun.Server
 
getPortArg(String) - Static method in class org.xlattice.protocol.stun.Client
 
getReflectedFromAddr() - Method in class org.xlattice.protocol.stun.Client
 
getResponseAddr() - Method in class org.xlattice.protocol.stun.Client
 
getSecondaryAddr() - Method in class org.xlattice.protocol.stun.Client
 
getSecretServerAddr() - Method in class org.xlattice.protocol.stun.Client
 
getServerIndex() - Method in class org.xlattice.protocol.stun.Client
 
getSocket() - Method in class org.xlattice.protocol.stun.BindingSender
 
getSourceAddr() - Method in class org.xlattice.protocol.stun.Client
 
getThread() - Method in class org.xlattice.protocol.stun.BindingSender
 
getUserName() - Method in class org.xlattice.protocol.stun.Client
 
getXLattice() - Static method in class org.xlattice.protocol.stun.GUIClient
 
GUIClient - Class in org.xlattice.protocol.stun
GUI STUN protocol client.
GUIClient(String) - Constructor for class org.xlattice.protocol.stun.GUIClient
 

H

hashCode() - Method in class org.xlattice.protocol.stun.NattedAddress
 
hashCode() - Method in class org.xlattice.protocol.xl.MessageID
 
HEADER_LENGTH - Static variable in interface org.xlattice.protocol.stun.StunConst
 
HEADER_LENGTH - Static variable in interface org.xlattice.protocol.xl.XLConst
 
HMAC_LENGTH - Static variable in class org.xlattice.protocol.stun.MessageIntegrity
 
HMAC_LENGTH - Static variable in class org.xlattice.protocol.stun.UserName
 

I

id - Variable in class org.xlattice.protocol.xl.MessageID
 
IgnoredAttr - Class in org.xlattice.protocol.stun
 
IgnoredAttr(int, byte[]) - Constructor for class org.xlattice.protocol.stun.IgnoredAttr
 
INBUF_SIZE - Static variable in class org.xlattice.protocol.stun.BindingServer
 
INCONCLUSIVE - Static variable in class org.xlattice.protocol.stun.Client
 
index(int) - Static method in class org.xlattice.protocol.stun.ErrorCode
 
index(NodeID) - Method in class org.xlattice.protocol.xlkad.KadNode
 
isRunning() - Method in class org.xlattice.protocol.stun.BindingSender
 
isRunning() - Method in class org.xlattice.protocol.stun.BindingServer
 
isRunning() - Method in class org.xlattice.protocol.stun.SecretServer
 
isRunning() - Method in class org.xlattice.protocol.stun.Server
 
isUDP - Variable in class org.xlattice.protocol.stun.ServerInfo
 
itemStateChanged(ItemEvent) - Method in class org.xlattice.protocol.stun.GUIClient
 

K

K - Static variable in class org.xlattice.protocol.xlkad.KBucket
 
KadID - Class in org.xlattice.protocol.xlkad
An XLKad node.
KadID(byte[]) - Constructor for class org.xlattice.protocol.xlkad.KadID
 
KadNode - Class in org.xlattice.protocol.xlkad
An XLKad node.
KadNode(NodeID) - Constructor for class org.xlattice.protocol.xlkad.KadNode
 
KadNode() - Constructor for class org.xlattice.protocol.xlkad.KadNode
 
KBucket - Class in org.xlattice.protocol.xlkad
A KBucket is a queue of up to K contacts.
KBucket() - Constructor for class org.xlattice.protocol.xlkad.KBucket
 

L

Label - Class in org.xlattice.protocol.xl
Dunno how to use this yet.
Label() - Constructor for class org.xlattice.protocol.xl.Label
 
LABEL - Static variable in interface org.xlattice.protocol.xl.XLConst
 
LABEL_LENGTH - Static variable in class org.xlattice.protocol.xl.Label
 
LENGTH - Static variable in class org.xlattice.protocol.stun.Password
 
length() - Method in class org.xlattice.protocol.stun.StunMsg
The total length of any attributes, including the type/length fields.
length() - Method in class org.xlattice.protocol.TLV
 
length() - Method in class org.xlattice.protocol.xl.XLMsg
The total length of any attributes, including the type/length fields.
LENGTH - Static variable in class org.xlattice.protocol.xlkad.KadID
 
LOG_MSG(String) - Method in class org.xlattice.protocol.stun.BindingSender
 
LOG_MSG(String) - Method in class org.xlattice.protocol.stun.BindingServer
 
LOG_MSG(String) - Method in class org.xlattice.protocol.stun.Client
 
LOG_MSG(String) - Method in class org.xlattice.protocol.stun.SecretServer
 
LOG_MSG(String) - Method in class org.xlattice.protocol.stun.Server
 
logAndThrow(String) - Method in class org.xlattice.protocol.stun.Client
 
logDistance(KadID) - Method in class org.xlattice.protocol.xlkad.KadID
Base-2 logarithm of the distance between this id and another.
logDistance(NodeID) - Method in class org.xlattice.protocol.xlkad.KadNode
Base-2 logarithm of the distance between this node and another, which is the same as the index of the KBucket that the other node would fall into.

M

main(String[]) - Static method in class org.xlattice.protocol.stun.Client
Command line interface to the STUN client.
main(String[]) - Static method in class org.xlattice.protocol.stun.GUIClient
 
main(String[]) - Static method in class org.xlattice.protocol.stun.Server
 
makeList(int[]) - Static method in class org.xlattice.protocol.stun.UnknownAttributes
 
malformed(StunMsg) - Method in class org.xlattice.protocol.stun.SecretServer
 
MAPPED_ADDRESS - Static variable in interface org.xlattice.protocol.stun.StunConst
 
MappedAddress - Class in org.xlattice.protocol.stun
 
MappedAddress(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.MappedAddress
 
menuBar - Variable in class org.xlattice.protocol.stun.GUIClient
 
MESSAGE_INTEGRITY - Static variable in interface org.xlattice.protocol.stun.StunConst
 
MESSAGE_INTEGRITY_LENGTH - Static variable in class org.xlattice.protocol.stun.MessageIntegrity
 
messageID - Variable in class org.xlattice.protocol.stun.MessageQueue
 
MessageID - Class in org.xlattice.protocol.xl
A 12-byte array used to identify XL messages.
MessageID(byte[]) - Constructor for class org.xlattice.protocol.xl.MessageID
 
MessageIntegrity - Class in org.xlattice.protocol.stun
Attribute added at the end of an authenticated STUN message.
MessageIntegrity(byte[]) - Constructor for class org.xlattice.protocol.stun.MessageIntegrity
Constructs a MessageIntegrity attribute object with a dummy digest.
MessageIntegrity() - Constructor for class org.xlattice.protocol.stun.MessageIntegrity
 
MessageQueue - Class in org.xlattice.protocol.stun
A STUN message queue is initialized with one or nine times representing the time at which copies of a message should be sent and a timeout.
MessageQueue(StunMsg) - Constructor for class org.xlattice.protocol.stun.MessageQueue
 
ms - Variable in class org.xlattice.protocol.stun.UserName
 
msg - Variable in class org.xlattice.protocol.stun.Outgoing
 
MSG_ID_LENGTH - Static variable in interface org.xlattice.protocol.stun.StunConst
 
MSG_ID_LENGTH - Static variable in interface org.xlattice.protocol.xl.XLConst
 
msgArea - Variable in class org.xlattice.protocol.stun.GUIClient
 

N

name - Variable in class org.xlattice.protocol.stun.ServerInfo
 
name() - Method in class org.xlattice.protocol.xl.XL
 
NAT_TYPES - Static variable in class org.xlattice.protocol.stun.Client
NAT descriptions indexed by type
NATTED - Static variable in class org.xlattice.protocol.stun.Client
 
NattedAddress - Class in org.xlattice.protocol.stun
A node behind a NAT (network address translator) may have two addresses: the address that it uses for communications and the address that is seen by other machines on the Internet which are beyond the NAT.
NattedAddress(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.NattedAddress
Create an address pair where only the local address is known.
NattedAddress(Inet4Address, int, Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.NattedAddress
Create an address pair where both local and mapped addresses are known.
NO_UDP - Static variable in class org.xlattice.protocol.stun.Client
 
NodeIDAttr - Class in org.xlattice.protocol.xl
 
NodeIDAttr(int, byte[]) - Constructor for class org.xlattice.protocol.xl.NodeIDAttr
 
NOT_NATTED - Static variable in class org.xlattice.protocol.stun.Client
RFC 3489 test results
NULL_DIGEST - Static variable in class org.xlattice.protocol.stun.MessageIntegrity
 

O

OPEN_INTERNET - Static variable in class org.xlattice.protocol.stun.Client
 
optionMenu - Variable in class org.xlattice.protocol.stun.GUIClient
 
org.xlattice.protocol - package org.xlattice.protocol
 
org.xlattice.protocol.stun - package org.xlattice.protocol.stun
 
org.xlattice.protocol.xl - package org.xlattice.protocol.xl
 
org.xlattice.protocol.xlkad - package org.xlattice.protocol.xlkad
 
OUTBUF_SIZE - Static variable in class org.xlattice.protocol.stun.BindingSender
 
Outgoing - Class in org.xlattice.protocol.stun
 
Outgoing(Inet4Address, int, byte[]) - Constructor for class org.xlattice.protocol.stun.Outgoing
 

P

Password - Class in org.xlattice.protocol.stun
In this implementation, the STUN password is calculated directly from the encoded UserName, which is a 36-byte value including an HMAC generated using the UserName secret key.
PASSWORD - Static variable in interface org.xlattice.protocol.stun.StunConst
 
PasswordAttr - Class in org.xlattice.protocol.stun
 
PasswordAttr(byte[]) - Constructor for class org.xlattice.protocol.stun.PasswordAttr
 
Ping - Class in org.xlattice.protocol.xl
This message must have destination and source attributes, and somewhere a TTL field.
Ping() - Constructor for class org.xlattice.protocol.xl.Ping
 
Ping(byte[]) - Constructor for class org.xlattice.protocol.xl.Ping
 
PING - Static variable in interface org.xlattice.protocol.xl.XLConst
 
Pong - Class in org.xlattice.protocol.xl
This message must have destination and source attributes, and somewhere a TTL field.
Pong() - Constructor for class org.xlattice.protocol.xl.Pong
 
Pong(byte[]) - Constructor for class org.xlattice.protocol.xl.Pong
 
PONG - Static variable in interface org.xlattice.protocol.xl.XLConst
 
port - Variable in class org.xlattice.protocol.stun.Client.Foursome
 
port - Variable in class org.xlattice.protocol.stun.Outgoing
 
port - Variable in class org.xlattice.protocol.stun.ServerInfo
 
port - Variable in class org.xlattice.protocol.stun.UserName
 
PORT_RESTRICTED - Static variable in class org.xlattice.protocol.stun.Client
 
priority - Variable in class org.xlattice.protocol.stun.Client.Foursome
 

R

readValue(int, int, byte[], int) - Static method in class org.xlattice.protocol.xl.ValueAttr
Type and length have already been decoded.
reasonPhrases - Static variable in class org.xlattice.protocol.stun.ErrorCode
 
REFLECTED_FROM - Static variable in interface org.xlattice.protocol.stun.StunConst
 
ReflectedFrom - Class in org.xlattice.protocol.stun
 
ReflectedFrom(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.ReflectedFrom
 
RESPONSE_ADDRESS - Static variable in interface org.xlattice.protocol.stun.StunConst
 
ResponseAddress - Class in org.xlattice.protocol.stun
 
ResponseAddress(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.ResponseAddress
 
RESTRICTED - Static variable in class org.xlattice.protocol.stun.Client
 
rng - Static variable in class org.xlattice.protocol.stun.StunMsg
any use must be synchronized
rng - Static variable in class org.xlattice.protocol.xl.XLMsg
any use must be synchronized
run() - Method in class org.xlattice.protocol.stun.BindingSender
 
run() - Method in class org.xlattice.protocol.stun.BindingServer
 
run() - Method in class org.xlattice.protocol.stun.SecretServer
 

S

schedule(Outgoing) - Method in class org.xlattice.protocol.stun.BindingSender
 
SECONDARY_ADDRESS - Static variable in interface org.xlattice.protocol.stun.StunConst
 
SecondaryAddress - Class in org.xlattice.protocol.stun
 
SecondaryAddress(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.SecondaryAddress
 
SecretServer - Class in org.xlattice.protocol.stun
 
SecretServer(Inet4Address, int, String, String, SecretKey, SecretKey, String, boolean) - Constructor for class org.xlattice.protocol.stun.SecretServer
Creates a server which provides username/password pairs over a secure TLS connection.
SecretServer(Inet4Address, int, String, String, SecretKey, SecretKey, boolean) - Constructor for class org.xlattice.protocol.stun.SecretServer
 
server - Variable in class org.xlattice.protocol.stun.Client.Foursome
 
Server - Class in org.xlattice.protocol.stun
A STUN server which listens for UDP BindingRequests on four combinations of primary/secondary IP address and primary/secondary port and optionally listens for SharedSecretRequests on TLS (TCP) connections to the primary IP address and port.
Server(String, String, int, int, String, String, String, boolean, boolean) - Constructor for class org.xlattice.protocol.stun.Server
Creates a server instance, setting parameters first from the values passed, then if there are no such values from system properties, then if there are no such system properties from the SERVER_PROPERTIES_FILE file, and lastly by default.
Server(String, String, int, int, String, String, boolean, boolean) - Constructor for class org.xlattice.protocol.stun.Server
Constructor with logDir defaulting.
SERVER_NAME - Static variable in interface org.xlattice.protocol.stun.StunConst
 
SERVER_PROPERTIES_FILE - Variable in class org.xlattice.protocol.stun.Server
 
ServerInfo - Class in org.xlattice.protocol.stun
Information on STUN server in raw form.
ServerInfo(String, int, boolean) - Constructor for class org.xlattice.protocol.stun.ServerInfo
 
serverLog - Variable in class org.xlattice.protocol.stun.BindingSender
 
serverLog - Variable in class org.xlattice.protocol.stun.BindingServer
 
serverLog - Variable in class org.xlattice.protocol.stun.SecretServer
 
serverLog - Variable in class org.xlattice.protocol.stun.Server
 
serverMenu - Variable in class org.xlattice.protocol.stun.GUIClient
 
serverName - Variable in class org.xlattice.protocol.stun.GUIClient
 
ServerNameAttr - Class in org.xlattice.protocol.stun
 
ServerNameAttr(byte[]) - Constructor for class org.xlattice.protocol.stun.ServerNameAttr
 
setChangeFlags(int) - Method in class org.xlattice.protocol.stun.Client
 
setHMAC(byte[], int, SecretKey) - Static method in class org.xlattice.protocol.stun.MessageIntegrity
Sets the value of the HMAC at the end of a serialized StunMsg using the client password as a SecretKey.
setHMAC(byte[], SecretKey) - Static method in class org.xlattice.protocol.stun.MessageIntegrity
Length defaults to actual buffer length, which is not the same as the length returned by msg.length().
setLocalHost(Inet4Address) - Method in class org.xlattice.protocol.stun.NattedAddress
 
setLocalPort(int) - Method in class org.xlattice.protocol.stun.NattedAddress
 
setMappedHost(Inet4Address) - Method in class org.xlattice.protocol.stun.NattedAddress
 
setMappedPort(int) - Method in class org.xlattice.protocol.stun.NattedAddress
 
setNatType(int) - Method in class org.xlattice.protocol.stun.NattedAddress
 
setResponseAddr(IPAddress) - Method in class org.xlattice.protocol.stun.Client
Causes a RESPONSE-ADDRSS attribute to be added to BindingRequests.
SHARED_SECRET_ERROR_RESPONSE - Static variable in interface org.xlattice.protocol.stun.StunConst
 
SHARED_SECRET_REQUEST - Static variable in interface org.xlattice.protocol.stun.StunConst
 
SHARED_SECRET_RESPONSE - Static variable in interface org.xlattice.protocol.stun.StunConst
 
SharedSecretErrorResponse - Class in org.xlattice.protocol.stun
 
SharedSecretErrorResponse() - Constructor for class org.xlattice.protocol.stun.SharedSecretErrorResponse
 
SharedSecretErrorResponse(byte[]) - Constructor for class org.xlattice.protocol.stun.SharedSecretErrorResponse
 
SharedSecretRequest - Class in org.xlattice.protocol.stun
 
SharedSecretRequest() - Constructor for class org.xlattice.protocol.stun.SharedSecretRequest
 
SharedSecretRequest(byte[]) - Constructor for class org.xlattice.protocol.stun.SharedSecretRequest
 
SharedSecretResponse - Class in org.xlattice.protocol.stun
A SharedSecretResponse must have UserName and Password attributes.
SharedSecretResponse() - Constructor for class org.xlattice.protocol.stun.SharedSecretResponse
 
SharedSecretResponse(byte[]) - Constructor for class org.xlattice.protocol.stun.SharedSecretResponse
 
SHIFTED_VALUE_MASK - Static variable in class org.xlattice.protocol.xl.Label
 
sipphoneServer - Variable in class org.xlattice.protocol.stun.GUIClient
 
size() - Method in class org.xlattice.protocol.stun.StunMsg
 
size() - Method in class org.xlattice.protocol.xl.XLMsg
 
size() - Method in class org.xlattice.protocol.xlkad.KBucket
Returns the number of contacts in the bucket, but is not synchronized.
softjoysServer - Variable in class org.xlattice.protocol.stun.GUIClient
 
Source - Class in org.xlattice.protocol.xl
 
Source(byte[]) - Constructor for class org.xlattice.protocol.xl.Source
 
Source(NodeID) - Constructor for class org.xlattice.protocol.xl.Source
 
SOURCE - Static variable in interface org.xlattice.protocol.xl.XLConst
 
SOURCE_ADDRESS - Static variable in interface org.xlattice.protocol.stun.StunConst
 
SourceAddress - Class in org.xlattice.protocol.stun
 
SourceAddress(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.SourceAddress
 
STUN_SERVER_PORT - Static variable in interface org.xlattice.protocol.stun.StunConst
 
StunAttr - Class in org.xlattice.protocol.stun
 
StunAttr(int, byte[]) - Constructor for class org.xlattice.protocol.stun.StunAttr
 
StunConst - Interface in org.xlattice.protocol.stun
 
StunException - Exception in org.xlattice.protocol.stun
 
StunException() - Constructor for exception org.xlattice.protocol.stun.StunException
No-argument constructor.
StunException(String) - Constructor for exception org.xlattice.protocol.stun.StunException
Constructor taking a single String argument.
StunMsg - Class in org.xlattice.protocol.stun
 
StunMsg(int) - Constructor for class org.xlattice.protocol.stun.StunMsg
 
StunMsg(int, byte[]) - Constructor for class org.xlattice.protocol.stun.StunMsg
 
SYM_FIREWALL - Static variable in class org.xlattice.protocol.stun.Client
 
SYMMETRIC_NAT - Static variable in class org.xlattice.protocol.stun.Client
 

T

test1a() - Method in class org.xlattice.protocol.stun.Client
Send a bare BindingRequest.
test1b() - Method in class org.xlattice.protocol.stun.Client
Send out a bare BindingRequest to the server's alternative address and port.
test2(boolean) - Method in class org.xlattice.protocol.stun.Client
 
test3() - Method in class org.xlattice.protocol.stun.Client
Send a BindingRequest with a change port request to the server.
TLV - Class in org.xlattice.protocol
Represents the classic Type-Length-Value field found in many network protocols.
TLV(int, int, int, byte[]) - Constructor for class org.xlattice.protocol.TLV
 
TLV(int, int, byte[]) - Constructor for class org.xlattice.protocol.TLV
 
TLV16 - Class in org.xlattice.protocol
Represents the classic Type-Length-Value field found in many network protocols, where the type and length are encoded as unsigned 16-bit integers.
TLV16(int, byte[]) - Constructor for class org.xlattice.protocol.TLV16
 
TLV16(int, int, byte[]) - Constructor for class org.xlattice.protocol.TLV16
 
toString() - Method in class org.xlattice.protocol.stun.AddrAttr
 
toString() - Method in class org.xlattice.protocol.stun.ErrorCode
 
toString() - Method in class org.xlattice.protocol.stun.NattedAddress
 
toString() - Method in class org.xlattice.protocol.stun.Outgoing
XXX Preliminary format.
toString() - Method in class org.xlattice.protocol.stun.ServerInfo
 
toString() - Method in class org.xlattice.protocol.stun.ServerNameAttr
 
toString() - Method in class org.xlattice.protocol.stun.UnknownAttributes
 
toString() - Method in class org.xlattice.protocol.stun.UserNameAttr
 
toString() - Method in class org.xlattice.protocol.xl.MessageID
 
toString() - Method in class org.xlattice.protocol.xl.NodeIDAttr
 
TTL_MASK - Static variable in interface org.xlattice.protocol.xl.XLConst
 
type - Variable in class org.xlattice.protocol.stun.StunMsg
 
type - Variable in class org.xlattice.protocol.TLV
 
type - Variable in class org.xlattice.protocol.xl.XLMsg
 

U

UNKNOWN_ATTRIBUTES - Static variable in interface org.xlattice.protocol.stun.StunConst
 
UnknownAttributes - Class in org.xlattice.protocol.stun
STUN attribute carrying a list of unknown attributes.
UnknownAttributes(int[]) - Constructor for class org.xlattice.protocol.stun.UnknownAttributes
 
UNSHIFTED_VALUE_MASK - Static variable in class org.xlattice.protocol.xl.Label
 
usage() - Static method in class org.xlattice.protocol.stun.Client
Needs to be prettier.
usage(String) - Static method in class org.xlattice.protocol.stun.Client
 
usage() - Static method in class org.xlattice.protocol.stun.Server
Needs to be prettier.
usage(String) - Static method in class org.xlattice.protocol.stun.Server
 
USERNAME - Static variable in interface org.xlattice.protocol.stun.StunConst
 
UserName - Class in org.xlattice.protocol.stun
Serialized, a UserName looks like 4B 4B 2B 6B 20B +---+---+---+---+---+---+---+---+---+- - -+---+ | t | addr |port| salt | HMAC-SHA1 | +---+---+---+---+---+---+---+---+---+- - -+---+ where t is the time rounded down to the nearest ten minutes, addr is the IPv4 address, and port is the port number; all three quantities are in big-endian form.
UserName(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.UserName
 
UserNameAttr - Class in org.xlattice.protocol.stun
 
UserNameAttr(byte[]) - Constructor for class org.xlattice.protocol.stun.UserNameAttr
 

V

validPort(int) - Static method in class org.xlattice.protocol.stun.Client
 
validPort(int) - Static method in class org.xlattice.protocol.stun.Server
 
value - Variable in class org.xlattice.protocol.TLV
 
VALUE_SHIFT - Static variable in class org.xlattice.protocol.xl.Label
 
ValueAttr - Class in org.xlattice.protocol.stun
Superclass for simple attributes that just carry byte arrays whose size must be a multiple of four.
ValueAttr(int, byte[]) - Constructor for class org.xlattice.protocol.stun.ValueAttr
 
ValueAttr - Class in org.xlattice.protocol.xl
Superclass for simple attributes that just carry byte arrays whose size must be a multiple of four.
ValueAttr(int, byte[]) - Constructor for class org.xlattice.protocol.xl.ValueAttr
 
verbose - Variable in class org.xlattice.protocol.stun.GUIClient
 
verboseMenuItem - Variable in class org.xlattice.protocol.stun.GUIClient
 
verify(byte[], SecretKey) - Method in class org.xlattice.protocol.stun.MessageIntegrity
This MessageIntegrity attribute has been extracted from the serialized message passed.
verify(byte[], int, SecretKey) - Method in class org.xlattice.protocol.stun.MessageIntegrity
 
verify(SecretKey, byte[], byte[]) - Static method in class org.xlattice.protocol.stun.Password
 
verify(SecretKey, byte[], int) - Static method in class org.xlattice.protocol.stun.UserName
 
version - Static variable in class org.xlattice.protocol.stun.Client
 
version - Variable in class org.xlattice.protocol.stun.GUIClient
 
Version - Class in org.xlattice.protocol
THIS CLASS SHOULD BE AUTOMATICALLY GENERATED.
Version() - Constructor for class org.xlattice.protocol.Version
 
voipbusterServer - Variable in class org.xlattice.protocol.stun.GUIClient
 
voxgratiaServer - Variable in class org.xlattice.protocol.stun.GUIClient
 

W

weight - Variable in class org.xlattice.protocol.stun.Client.Foursome
 
wireLength() - Method in class org.xlattice.protocol.stun.StunMsg
 
wireLength() - Method in class org.xlattice.protocol.xl.XLMsg
 

X

XL - Class in org.xlattice.protocol.xl
 
XL() - Constructor for class org.xlattice.protocol.xl.XL
 
xlatticeServer - Variable in class org.xlattice.protocol.stun.GUIClient
 
XLAttr - Class in org.xlattice.protocol.xl
 
XLAttr(int, byte[]) - Constructor for class org.xlattice.protocol.xl.XLAttr
 
XLConst - Interface in org.xlattice.protocol.xl
All constant values are big-endian.
XLMsg - Class in org.xlattice.protocol.xl
This is an interim spec for an XLattice message.
XLMsg(int) - Constructor for class org.xlattice.protocol.xl.XLMsg
 
XLMsg(int, byte[]) - Constructor for class org.xlattice.protocol.xl.XLMsg
 
XOR_MAPPED_ADDRESS - Static variable in interface org.xlattice.protocol.stun.StunConst
 
XOR_ONLY - Static variable in interface org.xlattice.protocol.stun.StunConst
 
XorMappedAddress - Class in org.xlattice.protocol.stun
XXX The fact that this is going to be difficult to handle means that we need to replace the Inet4Address with a byte[4].
XorMappedAddress(Inet4Address, int) - Constructor for class org.xlattice.protocol.stun.XorMappedAddress
 
xtenServer - Variable in class org.xlattice.protocol.stun.GUIClient
 

A B C D E F G H I K L M N O P R S T U V W X