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

A

ack_seq() - Method in class concast.base.TCPHeader
 
ack() - Method in class concast.base.TCPHeader
 
add(long, MergeState) - Method in class concast.merged.MergeStateTable
 
addLength(int) - Method in class concast.base.ConcastPacket
 

B

build_checksum() - Method in class concast.base.TCPHeader
 
buildMsg(MergeState) - Method in class concast.base.SpecBase
This function takes a MergeState and returns a datagram containing a transport header, and payload.

C

cancelTimer() - Method in class concast.merged.Merged
Remove timer for current tag, if any returns true if was removed false, if it was not found in any case, after calling this method there no more timers are pending for current tag
cancelTimer() - Method in interface concast.base.UserAPI
Remove timer for current tag (DEC), if any returns true if was removed false, if it was not found in any case, after calling this method there are no more timers are pending for current tag (DEC)
cancelTimer(long) - Method in class concast.merged.TimerList
Remove record for given tag
check() - Method in class concast.base.TCPHeader
 
checkAndDecrypt(ConcastPacket) - Method in class concast.base.SpecBase
This function takes a ConcastPacket, decrypts it and returns true if it was decrypted properly.
concast.base - package concast.base
 
concast.merged - package concast.merged
 
ConcastPacket - class concast.base.ConcastPacket.
Storage for the concast date packet This is "write once, read many" object.
ConcastPacket(byte[], int) - Constructor for class concast.base.ConcastPacket
Create the new concast packet.
ConcastSocket - class concast.merged.ConcastSocket.
Internal class, declares native concast socket.
ConcastSocket() - Constructor for class concast.merged.ConcastSocket
 
cwr() - Method in class concast.base.TCPHeader
 

D

debug(String) - Method in class concast.merged.Merged
Print debugging message, for user only
debug(String) - Method in interface concast.base.UserAPI
Print logging message, for user only
debugOFF() - Method in class concast.merged.Merged
Turn debugging of current merged off.
debugOFF() - Method in interface concast.base.UserAPI
Turn debugging of current merged off.
debugON() - Method in class concast.merged.Merged
Turn debug option on.
debugON() - Method in interface concast.base.UserAPI
Turn debug option on.
dest() - Method in class concast.base.TCPHeader
 
done(MergeState) - Method in class concast.base.SpecBase
The predicate done() on MergeState, which returns "true" when a datagram needs to be constructed and forwarded.

E

ece() - Method in class concast.base.TCPHeader
 
enableUNL(boolean) - Method in class concast.merged.Merged
 
enableUNL(boolean) - Method in interface concast.base.UserAPI
Disable/Enable UNL updates.
Encrypt(ConcastPacket) - Method in class concast.base.EncryptSpecBase
This function encrypts a ConcastPacket.
EncryptSpecBase - class concast.base.EncryptSpecBase.
 
EncryptSpecBase() - Constructor for class concast.base.EncryptSpecBase
 
encSpec - Variable in class concast.merged.FlowState
 

F

FAIL - Static variable in class concast.merged.Merged
 
FAIL_NOT_ENOUGH_ARGUMENTS - Static variable in class concast.merged.Merged
 
fin() - Method in class concast.base.TCPHeader
 
FIXED_SIZE - Static variable in class concast.base.UDPHeader
Size of the header
FlowState - class concast.merged.FlowState.
 
FlowState(UNL) - Constructor for class concast.merged.FlowState
 

G

getAllowSetTimer() - Method in class concast.merged.FlowState
 
getByteArray(String) - Method in class concast.merged.FlowState
 
getByteArray(String) - Method in class concast.merged.Merged
 
getByteArray(String) - Method in interface concast.base.UserAPI
 
getBytes() - Method in class concast.base.TCPHeader
Returns the TCP header.
getCipherDec() - Method in class concast.merged.FlowState
 
getCipherDec() - Method in class concast.merged.Merged
Retrieve (decryption) cipher from the flow state
getCipherDec() - Method in interface concast.base.UserAPI
Retrieve (decryption) cipher from the flow state
getCipherEnc() - Method in class concast.merged.FlowState
 
getCipherEnc() - Method in class concast.merged.Merged
Retrieves (encryption) cipher from the flow state
getCipherEnc() - Method in interface concast.base.UserAPI
Retrieves (encryption) cipher from the flow state
getCipherMac() - Method in class concast.merged.FlowState
 
getCipherMac() - Method in class concast.merged.Merged
Retrieve mac cipher from the flow state
getCipherMac() - Method in interface concast.base.UserAPI
Retrieve mac cipher from the flow state
getCurrentPacketSenderID() - Method in class concast.merged.FlowState
 
getCurrentTag() - Method in class concast.merged.FlowState
 
getCurrentTag() - Method in class concast.merged.Merged
Returns current value of tag
getCurrentTag() - Method in interface concast.base.UserAPI
Returns current value of tag
getData() - Method in class concast.base.ConcastPacket
 
getDEClimit() - Method in class concast.merged.Merged
Returns MAX_ACTIVE_DECS as described in the draft Maximum amount of per-flow state kept at a node
getDEClimit() - Method in interface concast.base.UserAPI
Returns MAX_ACTIVE_DECS as described in the draft Maximum amount of per-flow state kept at a node
getEntry(long) - Method in class concast.merged.MergeStateTable
Retrive entry for given tag
getFirstTimeTag() - Method in class concast.merged.TimerList
Return first record
getId() - Method in class concast.merged.NodeId
 
getId(int) - Method in class concast.merged.UNL
Returns the id of Ith up stream neighbor, the only call available to user.
getInt(String) - Method in class concast.merged.FlowState
 
getInt(String) - Method in class concast.merged.Merged
 
getInt(String) - Method in interface concast.base.UserAPI
 
getLength() - Method in class concast.base.ConcastPacket
Returns the length of data in the packet.
getList(byte[]) - Method in class concast.merged.UNL
Read list from the byte array
getLong(String) - Method in class concast.merged.FlowState
 
getLong(String) - Method in class concast.merged.Merged
 
getLong(String) - Method in interface concast.base.UserAPI
 
getMergeState() - Method in class concast.merged.MergeStateTable.Entry
 
getMyID() - Method in class concast.merged.Merged
Returns ID to identify current node (currently it is based on the IP address
getMyID() - Method in interface concast.base.UserAPI
Returns ID to identify current node (currently it is based on the IP address
getSecretEncKey() - Method in class concast.merged.Merged
Returns secret key for data encryption/decryption.
getSecretEncKey() - Method in interface concast.base.UserAPI
Returns secret key for data encryption/decryption.
getSecretKey() - Method in class concast.merged.Merged
Returns secret key material used to generate secret keys.
getSecretKey() - Method in interface concast.base.UserAPI
Returns secret key material for generating secret keys.
getSecretKeyUpdated() - Method in class concast.merged.Merged
Returns true, if the secret key has been updated and sets this flag to false.
getSecretKeyUpdated() - Method in interface concast.base.UserAPI
Returns true, if the secret key has been updated and sets this flag to false.
getSecretMacKey() - Method in class concast.merged.Merged
Returns secret key for secure-hash mac.
getSecretMacKey() - Method in interface concast.base.UserAPI
Returns secret key for secure-hash mac.
getSenderID() - Method in class concast.merged.Merged
Returns upstream neighbor ID of the current incoming packet.
getSenderID() - Method in interface concast.base.UserAPI
Returns upstream neighbor ID of the current incoming packet.
getState(long) - Method in class concast.merged.MergeStateTable
 
getTag() - Method in class concast.merged.TimerList.TimeTag
 
getTag() - Method in class concast.merged.MergeStateTable.Entry
 
getTag(ConcastPacket) - Method in class concast.base.SpecBase
This function determines the Datagram Equivalence Class to which a given packet belongs.
getTime() - Method in class concast.merged.TimerList.TimeTag
 
getTimer() - Method in class concast.merged.Merged
Returns absolute number of milliseconds - time on which second part of the packet processing (buildAndFwdIfDone) has been scheduled, or 0 if it was not scheduled
getTimer() - Method in interface concast.base.UserAPI
Returns absolute number of milliseconds - time at which second part of the packet processing (buildAndFwdIfDone) has been scheduled, or 0 if it has not been scheduled
getTimer(long) - Method in class concast.merged.TimerList
Returns absolute value of timer for given tag
getTtl() - Method in class concast.merged.MergeStateTable.Entry
 
getUDPHeader() - Method in class concast.base.UDPHeader
Returns the UDP header.
getUNL() - Method in class concast.merged.FlowState
 
getUNL() - Method in class concast.merged.Merged
Returns Upstream Neighbor List
getUNL() - Method in interface concast.base.UserAPI
Returns Upstream Neighbor List

H

hlen() - Method in class concast.base.TCPHeader
 

I

id - Variable in class concast.merged.ConcastSocket
 
init() - Method in class concast.merged.ConcastSocket
 

L

length() - Method in class concast.base.TCPHeader
Returns size
LOG_OUT - Static variable in class concast.merged.Merged
defines allow or not to use System.out to print internal log messages
LOG_UDP - Static variable in class concast.merged.Merged
 
LOG_UDP_PORT - Static variable in class concast.merged.Merged
 
logDebug(String) - Method in class concast.merged.Merged
Logging to stderr only
logUdp(String) - Method in class concast.merged.Merged
Print the message to the UDP socket.
logUdp(String) - Method in interface concast.base.UserAPI
Print the message to the UDP socket.

M

main(String[]) - Static method in class concast.merged.Merged
Parameters:
0 classPath (file or url) 1 SpecBase ...
MAX_ACTIVE_DECS - Static variable in class concast.merged.Merged
Upper bound on number of entries in the mergeStateTable, as described in the spec
MAX_MSG_SIZE - Static variable in class concast.base.ConcastPacket
 
merge(MergeState, ConcastPacket) - Method in class concast.base.SpecBase
This function takes a MergeState, a concast datagram, and per-flow information and returns an updated MergeState.
Merged - class concast.merged.Merged.
Main executable module, also exports user API for applications.
Merged_Class - Variable in class concast.merged.Merged
 
MergeState - class concast.base.MergeState.
This class has to be extended to define the DEC state
MergeState() - Constructor for class concast.base.MergeState
 
MergeStateTable - class concast.merged.MergeStateTable.
Internal class
MergeStateTable.Entry - class concast.merged.MergeStateTable.Entry.
Record of the merge state table.
MergeStateTable.Entry(MergeStateTable, long, MergeState) - Constructor for class concast.merged.MergeStateTable.Entry
 
MergeStateTable.Entry(MergeStateTable, long, MergeState, byte) - Constructor for class concast.merged.MergeStateTable.Entry
 
MergeStateTable(int) - Constructor for class concast.merged.MergeStateTable
 
MODE - Static variable in class concast.merged.Merged
 

N

newEntry(long, MergeState, byte) - Method in class concast.merged.MergeStateTable
 
NodeId - class concast.merged.NodeId.
Element of the UNL, id of the up stream neighbor
NodeId(long) - Constructor for class concast.merged.NodeId
 

O

open(FileDescriptor, FileDescriptor) - Method in class concast.merged.UNL
Open incoming and outgoing pipes

P

packet - Variable in class concast.base.PacketAndState
 
PacketAndState - class concast.base.PacketAndState.
Return type for buildMsg()
PacketAndState(ConcastPacket, MergeState) - Constructor for class concast.base.PacketAndState
 
print() - Method in class concast.merged.TimerList
 
print() - Method in class concast.merged.MergeStateTable
 
processIncomingTCPSeg(ConcastPacket) - Method in class concast.base.TCPHeader
Retrieve the header
processIncomingUDPDG(byte[]) - Method in class concast.base.UDPHeader
Retrieve the header
psh() - Method in class concast.base.TCPHeader
 
putByteArray(String, byte[]) - Method in class concast.merged.FlowState
 
putByteArray(String, byte[]) - Method in class concast.merged.Merged
 
putByteArray(String, byte[]) - Method in interface concast.base.UserAPI
 
putCipherDec(Cipher) - Method in class concast.merged.FlowState
 
putCipherDec(Cipher) - Method in class concast.merged.Merged
Store decryption cipher in the flow state.
putCipherDec(Cipher) - Method in interface concast.base.UserAPI
Store decryption cipher in the flow state.
putCipherEnc(Cipher) - Method in class concast.merged.FlowState
 
putCipherEnc(Cipher) - Method in class concast.merged.Merged
Allows to store initialized (encryption) cipher in the flow state.
putCipherEnc(Cipher) - Method in interface concast.base.UserAPI
Allows to store initialized (encryption) cipher in the flow state.
putCipherMac(Mac) - Method in class concast.merged.FlowState
 
putCipherMac(Mac) - Method in class concast.merged.Merged
Store mac cipher in the flow state.
putCipherMac(Mac) - Method in interface concast.base.UserAPI
Store mac cipher in the flow state.
putInt(String, int) - Method in class concast.merged.FlowState
 
putInt(String, int) - Method in class concast.merged.Merged
The following 6 method are used to store and retrieve data in the flow state.
putInt(String, int) - Method in interface concast.base.UserAPI
The following 6 method are used to store and retrieve data in the flow state.
putLong(String, long) - Method in class concast.merged.FlowState
 
putLong(String, long) - Method in class concast.merged.Merged
 
putLong(String, long) - Method in interface concast.base.UserAPI
 

R

random - Variable in class concast.merged.Merged
 
read(byte[], long) - Method in class concast.merged.ConcastSocket
Read a new data message.
readFromPipe() - Method in class concast.merged.UNL
Read list from pipe
readLong(byte[], int) - Static method in class concast.merged.FlowState
 
removeFirst() - Method in class concast.merged.TimerList
 
removeState(long) - Method in class concast.merged.MergeStateTable
Remove record for given tag return true if it was found, false otherwise
res1() - Method in class concast.base.TCPHeader
 
rst() - Method in class concast.base.TCPHeader
 
run() - Method in class concast.merged.UNL
pipe thread

S

secretEncKey - Variable in class concast.merged.Merged
 
secretKey - Variable in class concast.merged.Merged
 
secretKeyUpdated - Variable in class concast.merged.Merged
 
secretMacKey - Variable in class concast.merged.Merged
 
send(byte[], int, byte, long, String) - Method in class concast.merged.ConcastSocket
Send a message
SENDERID_SIZE - Variable in class concast.merged.FlowState
 
seq() - Method in class concast.base.TCPHeader
 
set_ack_seq(long) - Method in class concast.base.TCPHeader
 
setAllowSetTimer(boolean) - Method in class concast.merged.FlowState
 
setchecksum(int) - Method in class concast.base.TCPHeader
 
setCheckSum(int) - Method in class concast.base.TCPHeader
Put checksum, otherwise the receivers kernel will drop it.
setCheckSum(int) - Method in class concast.base.UDPHeader
Put checksum, otherwise the receivers kernel just throws it off.
setCurrentPacketSenderID(long) - Method in class concast.merged.FlowState
 
setCurrentTag(long) - Method in class concast.merged.FlowState
 
setLength(int) - Method in class concast.base.ConcastPacket
 
setMergeState(MergeState) - Method in class concast.merged.MergeStateTable.Entry
 
setTag(long) - Method in class concast.merged.MergeStateTable.Entry
 
setTimer(long) - Method in class concast.merged.Merged
This method can only be called from user done() method.
setTimer(long) - Method in interface concast.base.UserAPI
This method can only be called from user done() method.
setTimer(long, long) - Method in class concast.merged.TimerList
Insert item to the list, sorted by time, it doesn't check is tag is already in the list Merged is written such a way, that it's impossible
setTtl(byte) - Method in class concast.merged.MergeStateTable.Entry
 
setwindow(int) - Method in class concast.base.TCPHeader
 
size() - Method in class concast.merged.MergeStateTable
 
size() - Method in class concast.base.UDPHeader
Returns size
source() - Method in class concast.base.TCPHeader
 
spec - Variable in class concast.merged.FlowState
 
SpecBase - class concast.base.SpecBase.
The main class that has to be extended to create the merge spec.
SpecBase() - Constructor for class concast.base.SpecBase
 
state - Variable in class concast.base.PacketAndState
 
syn() - Method in class concast.base.TCPHeader
 

T

TCPHeader - class concast.base.TCPHeader.
Class to parse TCP header
TCPHeader() - Constructor for class concast.base.TCPHeader
 
TimerList - class concast.merged.TimerList.
Internal class, list of timers.
TimerList.TimeTag - class concast.merged.TimerList.TimeTag.
List element
TimerList.TimeTag(TimerList, long, long) - Constructor for class concast.merged.TimerList.TimeTag
 
TimerList() - Constructor for class concast.merged.TimerList
 
toString() - Method in class concast.merged.TimerList.TimeTag
 
ttl - Variable in class concast.merged.ConcastSocket
 

U

UDPHeader - class concast.base.UDPHeader.
Class to take UDP header from the incoming packet and put it back on the outgoing packets
UDPHeader() - Constructor for class concast.base.UDPHeader
 
UNL - class concast.merged.UNL.
Thread that receives UNL and the key from the CSPd via the pipe.
UNL_ON - Static variable in class concast.merged.Merged
true, is communication with CSPd is ON
UNL_PROTO_VERSION - Variable in class concast.merged.UNL
 
UNL(Merged) - Constructor for class concast.merged.UNL
 
update(long, MergeState, byte) - Method in class concast.merged.MergeStateTable
update, or insert, if tag is not in the table
urg_ptr() - Method in class concast.base.TCPHeader
 
urg() - Method in class concast.base.TCPHeader
 
userAPI - Variable in class concast.base.EncryptSpecBase
This object can be used to call methods from the user API
userAPI - Variable in class concast.base.SpecBase
This object can be used to call methods from the user API
UserAPI - interface concast.base.UserAPI.
 

V

VERSION - Static variable in class concast.merged.Merged
version of merged

W

window() - Method in class concast.base.TCPHeader
 
writeLong(byte[], int, long) - Static method in class concast.merged.FlowState
 

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