Modifier and Type | Method and Description |
---|---|
void |
SpreadAuthInterface.authenticate()
This method will be called during the establishment of a Spread connection.
|
void |
NULLAuth.authenticate()
This method will be called during the establishment of a Spread connection.
|
private void |
SpreadConnection.checkAccept() |
private void |
SpreadConnection.checkVersion() |
void |
SpreadConnection.connect(java.net.InetAddress address,
int port,
java.lang.String privateName,
boolean priority,
boolean groupMembership)
Establishes a connection to a spread daemon.
|
void |
SpreadMessage.digest(java.io.Serializable object)
Adds this message to the digest.
|
void |
SpreadConnection.disconnect()
Disconnects the connection to the daemon.
|
java.util.Vector |
SpreadMessage.getDigest()
Gets the message data as a digest.
|
java.lang.Object |
SpreadMessage.getObject()
Gets the message data as a java object.
|
private void |
SpreadConnection.instantiateAuthMethod() |
private SpreadMessage |
SpreadConnection.internal_receive() |
void |
SpreadGroup.join(SpreadConnection connection,
java.lang.String name)
Joins the group
name on the connection connection . |
void |
SpreadGroup.leave()
Leaves the group.
|
void |
SpreadConnection.multicast(SpreadMessage message)
Multicasts a message.
|
void |
SpreadConnection.multicast(SpreadMessage[] messages)
Multicasts an array of messages.
|
boolean |
SpreadConnection.poll()
Returns true if there are any messages waiting on this connection.
|
private void |
SpreadConnection.readAuthMethods() |
private void |
SpreadConnection.readBytesFromSocket(byte[] buffer,
java.lang.String bufferTypeString) |
private void |
SpreadConnection.readGroup() |
SpreadMessage |
SpreadConnection.receive()
Receives the next message waiting on this connection.
|
SpreadMessage[] |
SpreadConnection.receive(int numMessages)
Receives
numMessages messages on the connection and returns them in an array. |
void |
SpreadConnection.registerAuthentication(java.lang.String authName,
java.lang.String authClassName)
Sets the authentication name and class string for the client side authentication method.
|
private void |
SpreadConnection.sendAuthMethod() |
private void |
SpreadConnection.sendConnect(java.lang.String privateName) |
private void |
SpreadConnection.setBufferSizes() |
void |
SpreadMessage.setObject(java.io.Serializable object)
Sets the message's data to this object, in serialized form.
|
Copyright © 2004 Spread Concepts LLC. All Rights Reserved.