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

A

ACCEPT_SESSION - Static variable in class spread.SpreadConnection
 
add(BasicMessageListener) - Method in class spread.SpreadConnection
Adds the BasicMessageListener to this connection.
add(AdvancedMessageListener) - Method in class spread.SpreadConnection
Adds the AdvancedMessageListener to this connection.
addGroup(SpreadGroup) - Method in class spread.SpreadMessage
Adds this group to the list this message will be sent to.
addGroup(String) - Method in class spread.SpreadMessage
Adds this group to the list this message will be sent to.
addGroups(SpreadGroup[]) - Method in class spread.SpreadMessage
Adds these groups to the list this message will be sent to.
addGroups(String[]) - Method in class spread.SpreadMessage
Adds these groups to the list this message will be sent to.
address - Variable in class spread.SpreadConnection
 
advancedListeners - Variable in class spread.SpreadConnection
 
AdvancedMessageListener - Interface in spread
Objects of a class that implements the AdvancedMessageListener interface can add themselves to a SpreadConnection with SpreadConnection.add(AdvancedMessageListener).
AGREED_MESS - Static variable in class spread.SpreadMessage
 
authClassName - Variable in class spread.SpreadConnection
 
authenticate() - Method in class spread.NULLAuth
This method will be called during the establishment of a Spread connection.
authenticate() - Method in interface spread.SpreadAuthInterface
This method will be called during the establishment of a Spread connection.
authMethodAuthenticate - Variable in class spread.SpreadConnection
 
authName - Variable in class spread.SpreadConnection
 
authObj - Variable in class spread.SpreadConnection
 

B

basicListeners - Variable in class spread.SpreadConnection
 
BasicMessageListener - Interface in spread
Objects of a class that implements the BasicMessageListener interface can add themselves to a SpreadConnection with SpreadConnection.add(BasicMessageListener).
BUFFER_ADD_ADVANCED - Static variable in class spread.SpreadConnection
 
BUFFER_ADD_BASIC - Static variable in class spread.SpreadConnection
 
BUFFER_DISCONNECT - Static variable in class spread.SpreadConnection
 
BUFFER_REMOVE_ADVANCED - Static variable in class spread.SpreadConnection
 
BUFFER_REMOVE_BASIC - Static variable in class spread.SpreadConnection
 

C

callingListeners - Variable in class spread.SpreadConnection
 
CAUSAL_MESS - Static variable in class spread.SpreadMessage
 
CAUSED_BY_DISCONNECT - Static variable in class spread.SpreadMessage
 
CAUSED_BY_JOIN - Static variable in class spread.SpreadMessage
 
CAUSED_BY_LEAVE - Static variable in class spread.SpreadMessage
 
CAUSED_BY_NETWORK - Static variable in class spread.SpreadMessage
 
checkAccept() - Method in class spread.SpreadConnection
 
checkVersion() - Method in class spread.SpreadConnection
 
clearEndian(int) - Static method in class spread.SpreadConnection
 
clone() - Method in class spread.SpreadMessage
Creates a copy of this message.
connect(InetAddress, int, String, boolean, boolean) - Method in class spread.SpreadConnection
Establishes a connection to a spread daemon.
connected - Variable in class spread.SpreadConnection
 
connection - Variable in class spread.SpreadConnection.Listener
 
connection - Variable in class spread.SpreadGroup
 
content - Variable in class spread.SpreadMessage
 
CONTENT_DATA - Static variable in class spread.SpreadMessage
 
CONTENT_DIGEST - Static variable in class spread.SpreadMessage
 
CONTENT_OBJECT - Static variable in class spread.SpreadMessage
 
createMessage() - Method in class spread.MessageFactory
Returns a new message.

D

data - Variable in class spread.SpreadMessage
 
DEFAULT_AUTH_NAME - Static variable in class spread.SpreadConnection
 
DEFAULT_AUTHCLASS_NAME - Static variable in class spread.SpreadConnection
 
DEFAULT_SPREAD_PORT - Static variable in class spread.SpreadConnection
 
defaultMessage - Variable in class spread.MessageFactory
 
digest(Serializable) - Method in class spread.SpreadMessage
Adds this message to the digest.
digestBytes - Variable in class spread.SpreadMessage
 
digestOutput - Variable in class spread.SpreadMessage
 
disconnect() - Method in class spread.SpreadConnection
Disconnects the connection to the daemon.

E

ENDIAN_TYPE - Static variable in class spread.SpreadConnection
 
endianMismatch - Variable in class spread.SpreadMessage
 
equals(Object) - Method in class spread.GroupID
Returns true if the two GroupID's represent the same group membership view at the same point in time in the history of the group.
equals(Object) - Method in class spread.SpreadGroup
Checks if two groups are the same.

F

FIFO_MESS - Static variable in class spread.SpreadMessage
 
flip(int) - Static method in class spread.SpreadConnection
 
flip(short) - Static method in class spread.SpreadConnection
 

G

getData() - Method in class spread.SpreadMessage
Gets the message data as an array of bytes.
getDigest() - Method in class spread.SpreadMessage
Gets the message data as a digest.
getDisconnected() - Method in class spread.MembershipInfo
Gets the private group of the member who disconnected.
getEndianMismatch() - Method in class spread.SpreadMessage
Checks for an endian mismatch.
getGroup() - Method in class spread.MembershipInfo
Gets a SpreadGroup object representing the group that caused this message.
getGroupID() - Method in class spread.MembershipInfo
Gets the GroupID for this group membership at this point in time.
getGroups() - Method in class spread.SpreadMessage
Gets an array containing the SpreadGroup's to which this message was sent.
getID() - Method in class spread.GroupID
 
getJoined() - Method in class spread.MembershipInfo
Gets the private group of the member who joined.
getLeft() - Method in class spread.MembershipInfo
Gets the private group of the member who left.
getMajorVersion() - Method in class spread.SpreadVersion
Returns the spread major version as an int.
getMembers() - Method in class spread.MembershipInfo
Gets the private groups for all the members in the new group membership.
getMembershipInfo() - Method in class spread.SpreadMessage
Get the membership info for this message.
getMinorVersion() - Method in class spread.SpreadVersion
Returns the spread minor version as an int.
getObject() - Method in class spread.SpreadMessage
Gets the message data as a java object.
getPatchVersion() - Method in class spread.SpreadVersion
Returns the spread patch version as an int.
getPrivateGroup() - Method in class spread.SpreadConnection
Gets the private group for this connection.
getSender() - Method in class spread.SpreadMessage
Gets the message sender's private group.
getServiceType() - Method in class spread.SpreadMessage
Get the message's service type.
getStayed() - Method in class spread.MembershipInfo
Gets the private groups of the members who were not partitioned.
getType() - Method in class spread.SpreadMessage
Gets the message type.
getVersion() - Method in class spread.SpreadVersion
Returns the spread version as a float.
group - Variable in class spread.MembershipInfo
 
group - Variable in class spread.SpreadConnection
 
GroupID - Class in spread
A GroupID represents a particular group membership view at a particular time in the history of the group.
GroupID(int, int, int) - Constructor for class spread.GroupID
 
groupID - Variable in class spread.MembershipInfo
 
groupMembership - Variable in class spread.SpreadConnection
 
groups - Variable in class spread.MembershipInfo
 
groups - Variable in class spread.SpreadMessage
 
GROUPS_MESS - Static variable in class spread.SpreadMessage
 

H

hashCode() - Method in class spread.GroupID
Returns the hash code of the group ID.
hashCode() - Method in class spread.SpreadGroup
Returns the hash code of the group, which is defined as the hash code of its name.

I

ID - Variable in class spread.GroupID
 
instantiateAuthMethod() - Method in class spread.SpreadConnection
 
internal_receive() - Method in class spread.SpreadConnection
 
isAgreed() - Method in class spread.SpreadMessage
Checks if this is an agreed message.
isCausal() - Method in class spread.SpreadMessage
Checks if this is a causal message.
isCausedByDisconnect() - Method in class spread.MembershipInfo
Check if this message was caused by a disconnect.
isCausedByJoin() - Method in class spread.MembershipInfo
Check if this message was caused by a join.
isCausedByLeave() - Method in class spread.MembershipInfo
Check if this message was caused by a leave.
isCausedByNetwork() - Method in class spread.MembershipInfo
Check if this message was caused by a network partition.
isFifo() - Method in class spread.SpreadMessage
Checks if this is a fifo message.
isIncoming() - Method in class spread.SpreadMessage
Check if this is an incoming message.
isMembership() - Method in class spread.SpreadMessage
Checks if this is a membership message.
isMembership(int) - Static method in class spread.SpreadMessage
 
isOutgoing() - Method in class spread.SpreadMessage
Check if this is an outgoing message.
isRegular() - Method in class spread.SpreadMessage
Checks if this is a regular message.
isRegular(int) - Static method in class spread.SpreadMessage
 
isRegularMembership() - Method in class spread.MembershipInfo
Check if this is a regular membership message.
isReject() - Method in class spread.SpreadMessage
Checks if this is a rejected message.
isReject(int) - Static method in class spread.SpreadMessage
 
isReliable() - Method in class spread.SpreadMessage
Checks if this is a reliable message.
isSafe() - Method in class spread.SpreadMessage
Checks if this is a safe message.
isSelfDiscard() - Method in class spread.SpreadMessage
Checks if this is a self-discard message.
isSelfLeave() - Method in class spread.MembershipInfo
Check if this is a self-leave message.
isTransition() - Method in class spread.MembershipInfo
Check if this is a transition message.
isUnreliable() - Method in class spread.SpreadMessage
Checks if this is an unreliable message.

J

join(SpreadConnection, String) - Method in class spread.SpreadGroup
Joins the group name on the connection connection.
JOIN_MESS - Static variable in class spread.SpreadMessage
 

K

KILL_MESS - Static variable in class spread.SpreadMessage
 

L

leave() - Method in class spread.SpreadGroup
Leaves the group.
LEAVE_MESS - Static variable in class spread.SpreadMessage
 
listener - Variable in class spread.SpreadConnection
 
listenerBuffer - Variable in class spread.SpreadConnection
 
listenersynchro - Variable in class spread.SpreadConnection
 

M

majorVersion - Variable in class spread.SpreadVersion
 
MAX_AUTH_METHODS - Static variable in class spread.SpreadConnection
 
MAX_AUTH_NAME - Static variable in class spread.SpreadConnection
 
MAX_GROUP_NAME - Static variable in class spread.SpreadConnection
 
MAX_MESSAGE_LENGTH - Static variable in class spread.SpreadConnection
 
MAX_PRIVATE_NAME - Static variable in class spread.SpreadConnection
 
members - Variable in class spread.MembershipInfo
 
MEMBERSHIP_MESS - Static variable in class spread.SpreadMessage
 
MembershipInfo - Class in spread
A MembershipInfo object represents information stored in a membership message.
MembershipInfo(SpreadConnection, int, Vector, SpreadGroup, byte[], boolean) - Constructor for class spread.MembershipInfo
 
membershipInfo - Variable in class spread.SpreadMessage
 
membershipMessageReceived(SpreadMessage) - Method in interface spread.AdvancedMessageListener
If the object has been added to a connection with SpreadConnection.add(AdvancedMessageListener), this gets called whenever a membership message is received.
MessageFactory - Class in spread
A MessageFactory object is used to create any number of messages based on a default message.
MessageFactory(SpreadMessage) - Constructor for class spread.MessageFactory
Constructs a new MessageFactory and sets the default message.
messageReceived(SpreadMessage) - Method in interface spread.BasicMessageListener
If the object has been added to a connection with SpreadConnection.add(BasicMessageListener), this gets called whenever a message is received.
minorVersion - Variable in class spread.SpreadVersion
 
multicast(SpreadMessage) - Method in class spread.SpreadConnection
Multicasts a message.
multicast(SpreadMessage[]) - Method in class spread.SpreadConnection
Multicasts an array of messages.

N

name - Variable in class spread.SpreadGroup
 
NULLAuth - Class in spread
NULL authentication module.
NULLAuth() - Constructor for class spread.NULLAuth
 

O

outgoing - Variable in class spread.SpreadMessage
 

P

patchVersion - Variable in class spread.SpreadVersion
 
poll() - Method in class spread.SpreadConnection
Returns true if there are any messages waiting on this connection.
port - Variable in class spread.SpreadConnection
 
priority - Variable in class spread.SpreadConnection
 

R

readAuthMethods() - Method in class spread.SpreadConnection
 
readBytesFromSocket(byte[], String) - Method in class spread.SpreadConnection
 
readGroup() - Method in class spread.SpreadConnection
 
receive() - Method in class spread.SpreadConnection
Receives the next message waiting on this connection.
receive(int) - Method in class spread.SpreadConnection
Receives numMessages messages on the connection and returns them in an array.
REG_MEMB_MESS - Static variable in class spread.SpreadMessage
 
registerAuthentication(String, String) - Method in class spread.SpreadConnection
Sets the authentication name and class string for the client side authentication method.
REGULAR_MESS - Static variable in class spread.SpreadMessage
 
regularMessageReceived(SpreadMessage) - Method in interface spread.AdvancedMessageListener
If the object has been added to a connection with SpreadConnection.add(AdvancedMessageListener), this gets called whenever a regular message is received.
REJECT_MESS - Static variable in class spread.SpreadMessage
 
RELIABLE_MESS - Static variable in class spread.SpreadMessage
 
remove(BasicMessageListener) - Method in class spread.SpreadConnection
Removes the BasicMessageListener from this connection.
remove(AdvancedMessageListener) - Method in class spread.SpreadConnection
Removes the AdvancedMessageListener from this connection.
rsynchro - Variable in class spread.SpreadConnection
 
run() - Method in class spread.SpreadConnection.Listener
 

S

SAFE_MESS - Static variable in class spread.SpreadMessage
 
sameEndian(int) - Static method in class spread.SpreadConnection
 
SELF_DISCARD - Static variable in class spread.SpreadMessage
 
sendAuthMethod() - Method in class spread.SpreadConnection
 
sendConnect(String) - Method in class spread.SpreadConnection
 
sender - Variable in class spread.SpreadMessage
 
serviceType - Variable in class spread.MembershipInfo
 
serviceType - Variable in class spread.SpreadMessage
 
setAgreed() - Method in class spread.SpreadMessage
Sets the message to be agreed.
setBufferSizes() - Method in class spread.SpreadConnection
 
setCausal() - Method in class spread.SpreadMessage
Sets the message to be causal.
setData(byte[]) - Method in class spread.SpreadMessage
Sets the message's data to this array of bytes.
setDefault(SpreadMessage) - Method in class spread.MessageFactory
Sets a new default message for this factory.
setFifo() - Method in class spread.SpreadMessage
Sets the message to be fifo.
setObject(Serializable) - Method in class spread.SpreadMessage
Sets the message's data to this object, in serialized form.
setReliable() - Method in class spread.SpreadMessage
Sets the message to be reliable.
setSafe() - Method in class spread.SpreadMessage
Sets the message to be safe.
setSelfDiscard(boolean) - Method in class spread.SpreadMessage
If selfDiscard is true, sets the self discard flag for the message, otherwise clears the flag.
setServiceType(int) - Method in class spread.SpreadMessage
Sets the service type.
setType(short) - Method in class spread.SpreadMessage
Set's the message type.
setUnreliable() - Method in class spread.SpreadMessage
Sets the message to be unreliable.
signal - Variable in class spread.SpreadConnection.Listener
 
socket - Variable in class spread.SpreadConnection
 
socketInput - Variable in class spread.SpreadConnection
 
socketOutput - Variable in class spread.SpreadConnection
 
SP_MAJOR_VERSION - Static variable in class spread.SpreadConnection
 
SP_MINOR_VERSION - Static variable in class spread.SpreadConnection
 
SP_PATCH_VERSION - Static variable in class spread.SpreadConnection
 
spread - package spread
 
SpreadAuthInterface - Interface in spread
Objects of a class that implements the SpreadAuthInterface interface can act as the client side of an authentication protocol to complete a Spread connection.
SpreadConnection - Class in spread
A SpreadConnection object is used to establish a connection to a spread daemon.
SpreadConnection() - Constructor for class spread.SpreadConnection
Initializes a new SpreadConnection object.
SpreadConnection.Listener - Class in spread
 
SpreadConnection.Listener(SpreadConnection) - Constructor for class spread.SpreadConnection.Listener
 
SpreadException - Exception in spread
A SpreadException is thrown whenever a problem occurs in a spread method.
SpreadException() - Constructor for exception spread.SpreadException
Creates a SpreadException with no error message.
SpreadException(String) - Constructor for exception spread.SpreadException
Creates a SpreadException with an error message.
SpreadGroup - Class in spread
A SpreadGroup object represents a group on a spread daemon.
SpreadGroup(SpreadConnection, String) - Constructor for class spread.SpreadGroup
 
SpreadGroup() - Constructor for class spread.SpreadGroup
Initializes a new SpreadGroup object.
SpreadMessage - Class in spread
A SpreadMessage object represents either an incoming or outgoing spread message.
SpreadMessage(int, Vector, SpreadGroup, byte[], short, boolean, MembershipInfo) - Constructor for class spread.SpreadMessage
 
SpreadMessage() - Constructor for class spread.SpreadMessage
Initializes a new outgoing SpreadMessage object.
SpreadVersion - Class in spread
A SpreadVersion object is used to get the version of spread that is being used.
SpreadVersion() - Constructor for class spread.SpreadVersion
 
startListener() - Method in class spread.SpreadConnection
 
stopListener() - Method in class spread.SpreadConnection
 

T

toBytes(SpreadGroup, byte[], int) - Static method in class spread.SpreadConnection
 
toBytes(int, byte[], int) - Static method in class spread.SpreadConnection
 
toGroup(byte[], int) - Method in class spread.SpreadConnection
 
toInt(byte[], int) - Static method in class spread.SpreadConnection
 
toString() - Method in class spread.GroupID
Converts the GroupID to a string.
toString() - Method in class spread.SpreadGroup
Returns the name of the group as a string.
toString() - Method in class spread.SpreadVersion
Returns the spread version in string form.
TRANSITION_MESS - Static variable in class spread.SpreadMessage
 
type - Variable in class spread.SpreadMessage
 

U

UNRELIABLE_MESS - Static variable in class spread.SpreadMessage
 

W

wsynchro - Variable in class spread.SpreadConnection
 

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

Copyright © 2004 Spread Concepts LLC. All Rights Reserved.