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

A

AbstractCommLayer - class br.shob.AbstractCommLayer.
This class contains all common processing for the Communications Layer, which involves connecting to peer machines and sending/receiving signed messages from a socket.
AbstractCommLayer() - Constructor for class br.shob.AbstractCommLayer
Creates new CommLayer
AbstractCommLayer(HostId, PrivateKey) - Constructor for class br.shob.AbstractCommLayer
Constructs a new instance of the communications layer.
AbstractCommLayer(String, int) - Constructor for class br.shob.AbstractCommLayer
Constructs a new instance of the communications layer.
ADD_EVENT - Static variable in class br.shob.event.StorageEvent
Description of the Field
addCacheListener(String, StorageListener) - Method in class br.shob.SharedSpace
Adds a StorageListener that listens on the cached objects storage.
addListener(StorageListener) - Method in class br.shob.event.StorageEventSupport
 
addOwnedListener(String, StorageListener) - Method in class br.shob.SharedSpace
Adds a StorageListener that listens on the owned objects storage.
addStorageListener(StorageListener) - Method in class br.shob.storage.StorageManager.ExtraInfo
 
addStorageListener(String, StorageListener) - Method in class br.shob.storage.StorageManager
 
AlreadyLockedException - exception br.shob.AlreadyLockedException.
This exception is thrown when a client tries to lock (for example, to begin a transaction) a shard object that is already locked
AlreadyLockedException() - Constructor for class br.shob.AlreadyLockedException
Constructor for the AlreadyLockedException object
AlreadyLockedException(String) - Constructor for class br.shob.AlreadyLockedException
Constructor for the AlreadyLockedException object
AlreadyLoggedInException - exception br.shob.AlreadyLoggedInException.
This exception is thrown when a client tries to log in twice.
AlreadyLoggedInException() - Constructor for class br.shob.AlreadyLoggedInException
Constructor for the AlreadyLoggedInException object
AlreadyLoggedInException(String) - Constructor for class br.shob.AlreadyLoggedInException
Constructor for the AlreadyLoggedInException object
AlreadySharedException - exception br.shob.AlreadySharedException.
This exception is creatd when a client tries to share an object with a global name already in use.
AlreadySharedException() - Constructor for class br.shob.AlreadySharedException
Constructor for the AlreadySharedException object
AlreadySharedException(String) - Constructor for class br.shob.AlreadySharedException
Constructor for the AlreadySharedException object

B

before(TimeStamp) - Method in class br.shob.TimeStamp
Description of the Method
BEGIN_TRANS - Static variable in class br.shob.Message
Description of the Field
beginTrans(SharedReference) - Method in class br.shob.SharedSpace
This method should not be called directly.
beginTrans(Socket, URL, String) - Method in class br.shob.server.ServerCommLayer
The server should block if the object is already locked
beginTrans(String) - Method in class br.shob.client.ClientCommLayer
Asks the server to begin a transaction on a shared object
beginTrans(URL, String) - Method in class br.shob.server.Server
Begins a transaction on a shared object.
br.shob - package br.shob
 
br.shob.client - package br.shob.client
 
br.shob.compiler - package br.shob.compiler
 
br.shob.event - package br.shob.event
 
br.shob.server - package br.shob.server
 
br.shob.storage - package br.shob.storage
 
br.shob.util - package br.shob.util
 

C

canWrite() - Method in class br.shob.SharedObject
Returns true if the SharedSpace has acquired the writing lock for this object
CHANGE_EVENT - Static variable in class br.shob.event.StorageEvent
Description of the Field
checkMessage(Message, int, String) - Method in class br.shob.client.ClientCommLayer
Checks a message for errors.
classLoadersMap - Variable in class br.shob.client.ClientCommLayer
A mapping of class loaders by peer.
ClientCommLayer - class br.shob.client.ClientCommLayer.
This class is the client-side CommLayer used by a SharedSpace instance.
ClientCommLayer(SharedSpace, String, int) - Constructor for class br.shob.client.ClientCommLayer
Constructor for the ClientCommLayer object
close() - Method in class br.shob.compiler.Configurator
 
COMMIT - Static variable in class br.shob.Message
Description of the Field
commit(SharedObject) - Method in class br.shob.client.ClientCommLayer
Asks the server to commit a transaction on a shared object
commit(SharedReference) - Method in class br.shob.SharedSpace
This method should not be called directly.
commit(Socket, URL, String) - Method in class br.shob.server.ServerCommLayer
Description of the Method
commit(URL, String) - Method in class br.shob.server.Server
Description of the Method
CommLayerException - exception br.shob.CommLayerException.
This exception is generated when a communication problem occurs.
CommLayerException() - Constructor for class br.shob.CommLayerException
Creates new CommLayerException without detail message.
CommLayerException(String) - Constructor for class br.shob.CommLayerException
Constructs a CommLayerException with the specified detail message.
CommLayerException(String, Throwable) - Constructor for class br.shob.CommLayerException
Constructor for the CommLayerException object
CommLayerException(Throwable) - Constructor for class br.shob.CommLayerException
Constructor for the CommLayerException object
compareTo(TimeStamp) - Method in class br.shob.TimeStamp
Description of the Method
Compiler - class br.shob.compiler.Compiler.
Description of the Class
Compiler(Document) - Constructor for class br.shob.compiler.Compiler
Constructor for the Compiler object
compilerVersion - Static variable in class br.shob.compiler.Compiler
Description of the Field
configurationFile - Static variable in class br.shob.server.Server
Description of the Field
Configurator - class br.shob.compiler.Configurator.
 
Configurator(ReferenceDescriptor) - Constructor for class br.shob.compiler.Configurator
 
connect(String, int) - Method in class br.shob.AbstractCommLayer
connects with the peer.
connect(String, int) - Method in class br.shob.SharedSpace
Conects whith the specified server.
connect(URL) - Method in class br.shob.AbstractCommLayer
connects with the peer.
contains(String) - Method in class br.shob.storage.MemoryMapStorage
 
contains(String) - Method in interface br.shob.storage.Storage
Checks if an object is associated with the given global name in the storage
contains(String) - Method in class br.shob.storage.StorageManager
 
createBeginTrans(String) - Static method in class br.shob.Message
creates a message of this type.
createCommit(String) - Static method in class br.shob.Message
creates a message of this type.
createError(int, HostId, Throwable) - Static method in class br.shob.Message
creates a message of this type.
createError(int, Throwable) - Static method in class br.shob.Message
creates a message of this type.
createGet(String, HostId) - Static method in class br.shob.Message
creates a message of this type.
createGetClass(String, String) - Static method in class br.shob.Message
Description of the Method
createIdentify(URL) - Static method in class br.shob.Message
creates a message of this type.
createLogin(HostId) - Static method in class br.shob.Message
creates a message of this type.
createLogout() - Static method in class br.shob.Message
creates a message of this type.
createOK(int) - Static method in class br.shob.Message
creates a message of this type.
createOK(int, byte[]) - Static method in class br.shob.Message
Description of the Method
createOK(int, HostId) - Static method in class br.shob.Message
creates a message of this type.
createOK(int, HostId, TimeStamp) - Static method in class br.shob.Message
creates a message of this type.
createOK(int, String, SharedObject) - Static method in class br.shob.Message
creates a message of this type.
createOK(int, TimeStamp) - Static method in class br.shob.Message
creates a message of this type.
createPing() - Static method in class br.shob.Message
creates a message of this type.
createReload(String, HostId) - Static method in class br.shob.Message
creates a message of this type.
createRequest(String) - Static method in class br.shob.Message
creates a message of this type.
createRollback(String) - Static method in class br.shob.Message
creates a message of this type.
createShare(String) - Static method in class br.shob.Message
creates a message of this type.
createUnlock(String, HostId, TimeStamp) - Static method in class br.shob.Message
creates a message of this type.
createUnshare(String) - Static method in class br.shob.Message
creates a message of this type.
createUpdate(String, HostId) - Static method in class br.shob.Message
creates a message of this type.
createValidate(String, TimeStamp) - Static method in class br.shob.Message
creates a message of this type.

D

defaultLeaseTime - Static variable in interface br.shob.SharedReference
This is the default lease time, set to 20 (twenty) seconds.
defaultLeaseTime - Static variable in class br.shob.SharedObject
Default lease time for objects without one.
DefaultSharedReference - class br.shob.DefaultSharedReference.
This class represents a reference to shared object.
DefaultSharedReference(SharedSpace, String) - Constructor for class br.shob.DefaultSharedReference
Creates new SharedReference.
disconnect() - Method in class br.shob.SharedSpace
Disconnects from the server.

E

equals(Object) - Method in class br.shob.DefaultSharedReference
This method delegates to #srEquals, so references can be equal to themselves as well as the shared objects they represent.
es - Variable in class br.shob.storage.StorageManager.ExtraInfo
 

F

findClass(String) - Method in class br.shob.client.ShobClassLoader
Description of the Method
fireEvent(StorageEvent) - Method in class br.shob.event.StorageEventSupport
 
fireObjectAdded(String) - Method in class br.shob.event.StorageEventSupport
 
fireObjectChanged(PhantomReference, SharedReference) - Method in class br.shob.event.StorageEventSupport
 
fireObjectLocked(String) - Method in class br.shob.event.StorageEventSupport
 
fireObjectRemoved(PhantomReference) - Method in class br.shob.event.StorageEventSupport
 
fireObjectUnlocked(String) - Method in class br.shob.event.StorageEventSupport
 

G

generate() - Method in class br.shob.compiler.Configurator
 
generateKeyPair() - Method in class br.shob.server.Server
Description of the Method
GET - Static variable in class br.shob.Message
Description of the Field
GET_CLASS - Static variable in class br.shob.Message
Description of the Field
get(String) - Method in class br.shob.SharedSpace
Returns a SharedReference for a shared object.
get(String) - Method in class br.shob.storage.MemoryMapStorage
 
get(String) - Method in interface br.shob.storage.Storage
Retrieves the object associated with the given global name from the storage
get(String) - Method in class br.shob.storage.StorageManager
 
get(String, HostId) - Method in class br.shob.client.ClientCommLayer
this method is called when the owner needs to update the original object.
getCachedNames() - Method in class br.shob.SharedSpace
Gets the cachedNames attribute of the SharedSpace object
getCachedObject(String) - Method in class br.shob.SharedSpace
This method should not be called by user applications.
getCanWrite() - Method in class br.shob.util.SharedObjectDescriptor
Gets the canWrite attribute of the SharedObjectDescriptor object
getClassArray() - Method in class br.shob.Message
Gets the objectClass attribute of the Message object
getClassLoader() - Method in class br.shob.SharedObject
Gets the classLoader attribute of the SharedObject object
getClassLoader(String) - Method in class br.shob.client.ClientCommLayer
Gets a class loader who can load classes for the given global name
getClassName() - Method in class br.shob.Message
Gets the className attribute of the Message object
getClients() - Method in class br.shob.server.Server
This method returns a set with the clients logged in.
getColumnClass(int) - Method in class br.shob.compiler.ReferenceModel
 
getColumnCount() - Method in class br.shob.compiler.ReferenceModel
 
getColumnName(int) - Method in class br.shob.compiler.ReferenceModel
 
getCommLayer() - Method in class br.shob.server.Server
Gets the commLayer attribute of the Server object
getCurrentTime() - Method in class br.shob.client.ClientCommLayer
Gets the currentTime attribute of the ClientCommLayer object
getData() - Method in class br.shob.PhantomReference
Gets the data attribute of the PhantomReference object
getData() - Method in class br.shob.Message
accesor for the data of the object.
getData() - Method in class br.shob.DefaultSharedReference
Gets the data attribute of the SharedReference object
getData() - Method in class br.shob.SharedObject
Gets the data attribute of the SharedObject object
getDate() - Method in class br.shob.TimeStamp
accessor for the date object.
getDescriptor() - Method in class br.shob.SharedObject
Gets the descriptor attribute of the SharedObject object
getDescriptorList() - Method in class br.shob.storage.MemoryMapStorage
 
getDescriptorList() - Method in interface br.shob.storage.Storage
This method should return a list of SharedObjectDescriptors for all the objects stored (Optional operation).
getDescriptorList() - Method in class br.shob.storage.StorageManager
 
getDisplayName(Class) - Static method in class br.shob.compiler.Compiler
Gets the displayName attribute of the Compiler class
getError() - Method in class br.shob.Message
Gets the error attribute of the Message object
getExternalDescriptors() - Method in class br.shob.SharedSpace
Returns a list of all the objects cached by this SharedSpace .
getExtraInfo(String) - Method in class br.shob.storage.StorageManager
 
getGlobalName() - Method in class br.shob.Message
accesor for the global name of the object.
getGlobalName() - Method in class br.shob.SharedObject
Gets the globalName attribute of the SharedObject object
getGlobalName() - Method in class br.shob.event.StorageEvent
Gets the globalName attribute of the StorageEvent object
getGlobalName() - Method in class br.shob.server.ObjectInfo
Gets the globalName attribute of the ObjectInfo object
getGlobalName() - Method in class br.shob.util.SharedObjectDescriptor
Gets the globalName attribute of the SharedObjectDescriptor object
getHostId() - Method in class br.shob.Message
accesor for the host id of the object.
getHostId() - Method in class br.shob.server.Server
Gets the hostId attribute of the Server object
getHostId(URL) - Method in class br.shob.server.Server
Gets the hostId attribute of the Server object
getInner() - Method in class br.shob.InvocationException
Deprecated. Now the good method to get this exception's cause is through the getCause() method.
getInternalDescriptors() - Method in class br.shob.SharedSpace
Returns a list of all the objects shared by this SharedSpace .
getInternalName(Class) - Static method in class br.shob.compiler.Compiler
Gets the internalName attribute of the Compiler class
getKey() - Method in class br.shob.HostId
accessor for the public key of the host.
getKeySet() - Method in class br.shob.storage.StorageManager
 
getLeaseTime() - Method in class br.shob.SharedObject
Gets the leaseTime attribute of the SharedObject object
getLeaseTime() - Method in class br.shob.util.SharedObjectDescriptor
Gets the leaseTime attribute of the SharedObjectDescriptor object
getLoadedClass() - Method in class br.shob.compiler.ShobClassLoader
 
getLogger() - Method in class br.shob.AbstractCommLayer
Gets the logger for this comm layer.
getLogger() - Method in class br.shob.SharedSpace
Gets the logger attribute of the SharedSpace object
getLogger() - Method in class br.shob.client.ShobClassLoader
Gets the logger attribute of the ShobClassLoader object
getMethodsCount() - Method in class br.shob.compiler.ReferenceDescriptor
Gets the methodsCount attribute of the ReferenceDescriptor object
getName() - Method in class br.shob.compiler.ReferenceDescriptor
Gets the name attribute of the ReferenceDescriptor object
getName(int) - Method in class br.shob.compiler.ReferenceDescriptor
Gets the name attribute of the ReferenceDescriptor object
getNewValue() - Method in class br.shob.event.StorageEvent
Gets the newValue attribute of the StorageEvent object
getObject(String) - Method in class br.shob.SharedSpace
This method should not be called by user applications
getObjects() - Method in class br.shob.server.Server
This method returns a list of all the objects shared in this global space.
getOldValue() - Method in class br.shob.event.StorageEvent
Gets the oldValue attribute of the StorageEvent object
getOwner() - Method in class br.shob.server.ObjectInfo
Gets the owner attribute of the ObjectInfo object
getOwners() - Method in class br.shob.server.Server
Gets a Set with all clients who shared at least one object.
getParameter(Class, String) - Static method in class br.shob.compiler.Compiler
Gets the parameter attribute of the Compiler class
getPingMethod() - Method in class br.shob.server.Pinger
Gets the pingMethod attribute of the Pinger object
getPlainSocketURL() - Method in class br.shob.server.Server
Gets the plainSocketURL attribute of the Server object
getPrivateKey() - Method in class br.shob.server.Server
Gets the privateKey attribute of the Server object
getReference(SharedObject) - Method in class br.shob.SharedSpace
Gets the reference attribute of the SharedSpace object
getReferenceClassName() - Method in class br.shob.SharedObject
Gets the name of the reference's class (or interface).
getReferenceClassName() - Method in class br.shob.util.SharedObjectDescriptor
Gets the referenceClassName attribute of the SharedObjectDescriptor object
getRemote(String) - Method in class br.shob.SharedSpace
This method should not be called by user applications
getRemoteClassArray(String, String) - Method in class br.shob.SharedSpace
Gets a byte array with the class definition for className , downloading it from the owner of globalName .
getRemoteClassArray(String, String, HostId) - Method in class br.shob.client.ClientCommLayer
Gets the bytes representing a class to be defined.
getReturn(Class, String) - Static method in class br.shob.compiler.Compiler
Gets the return attribute of the Compiler class
getRowCount() - Method in class br.shob.compiler.ReferenceModel
 
getServer() - Method in class br.shob.server.ServerCommLayer
Gets the server attribute of the ServerCommLayer object
getSource() - Method in class br.shob.event.ShobEvent
Gets the source attribute of the ShobEvent object
getStorage() - Method in class br.shob.storage.StorageManager
 
getTimeStamp() - Method in class br.shob.Message
accesor for the time stamp of the object.
getTimeStamp() - Method in class br.shob.SharedObject
Gets the timeStamp attribute of the SharedObject object
getTimeStamp() - Method in class br.shob.server.ObjectInfo
Gets the timeStamp attribute of the ObjectInfo object
getTimeStamp() - Method in class br.shob.util.SharedObjectDescriptor
Gets the timeStamp attribute of the SharedObjectDescriptor object
getType() - Method in class br.shob.Message
accesor for the type of the message.
getURL() - Method in class br.shob.Message
accesor for the url of the object.
getURL() - Method in class br.shob.HostId
accessor for the URL of the host.
getValueAt(int, int) - Method in class br.shob.compiler.ReferenceModel
 
getWriter() - Method in class br.shob.server.ObjectInfo
Gets the writer attribute of the ObjectInfo object
getWriters() - Method in class br.shob.server.Server
Gets a set of all the clients who currently have at least one lock
globalName - Variable in class br.shob.client.ShobClassLoader
A ShobClassLoader is dedicated to only one shared object

H

hashCode() - Method in class br.shob.DefaultSharedReference
DefaultSharedReferences use the hash code of ther global names.
help(boolean) - Static method in class br.shob.compiler.Compiler
Description of the Method
help(String[]) - Static method in class br.shob.compiler.Compiler
Description of the Method
HostId - class br.shob.HostId.
Encapsulates all the information needed to communicate with a host.
HostId() - Constructor for class br.shob.HostId
Creates new HostId
HostId(URL, PublicKey) - Constructor for class br.shob.HostId
constructs a new instance of a HostId object.
HostNotFoundException - exception br.shob.server.HostNotFoundException.
 
HostNotFoundException() - Constructor for class br.shob.server.HostNotFoundException
Creates new HostNotFoundException without detail message.
HostNotFoundException(String) - Constructor for class br.shob.server.HostNotFoundException
Constructs an HostNotFoundException with the specified detail message.

I

IDENTIFY - Static variable in class br.shob.Message
Description of the Field
identify(Socket, URL) - Method in class br.shob.server.ServerCommLayer
Description of the Method
identify(URL) - Method in class br.shob.client.ClientCommLayer
Gets the HostId for a peer URL.
IllegalOperationException - exception br.shob.IllegalOperationException.
This exception is thrown when a client request an operation that the server cannot perform, usually because it is unknown.
IllegalOperationException() - Constructor for class br.shob.IllegalOperationException
Creates new IllegalOperationException without detail message.
IllegalOperationException(String) - Constructor for class br.shob.IllegalOperationException
Constructs an IllegalOperationException with the specified detail message.
IllegalOperationException(String, Throwable) - Constructor for class br.shob.IllegalOperationException
Constructor for the IllegalOperationException object
IllegalOperationException(Throwable) - Constructor for class br.shob.IllegalOperationException
Constructor for the IllegalOperationException object
IncompatibleProxyException - exception br.shob.IncompatibleProxyException.
 
IncompatibleProxyException() - Constructor for class br.shob.IncompatibleProxyException
Creates new IncompatibleProxyException without detail message.
IncompatibleProxyException(String) - Constructor for class br.shob.IncompatibleProxyException
Constructs an IncompatibleProxyException with the specified detail message.
initEntries(Class) - Method in class br.shob.compiler.ReferenceDescriptor
Description of the Method
InsecureObjectException - exception br.shob.InsecureObjectException.
This exception is thrown when the CommLayer determines that an object's origin or content is not secure (usually because it failed a signature check).
InsecureObjectException() - Constructor for class br.shob.InsecureObjectException
Creates new InsecureObjectException without detail message.
InsecureObjectException(Exception) - Constructor for class br.shob.InsecureObjectException
Deprecated. in favor of the 1.4 chaining method (which receives any Throwable)
InsecureObjectException(String) - Constructor for class br.shob.InsecureObjectException
Constructs an InsecureObjectException with the specified detail message.
InsecureObjectException(String, Throwable) - Constructor for class br.shob.InsecureObjectException
Constructor for the InsecureObjectException object
InsecureObjectException(Throwable) - Constructor for class br.shob.InsecureObjectException
Constructor for the InsecureObjectException object
InterruptedError - error br.shob.InterruptedError.
 
InterruptedError() - Constructor for class br.shob.InterruptedError
Creates new InterruptedError without detail message.
InterruptedError(String) - Constructor for class br.shob.InterruptedError
Constructs an InterruptedError with the specified detail message.
InvalidModifierException - exception br.shob.compiler.InvalidModifierException.
 
InvalidModifierException() - Constructor for class br.shob.compiler.InvalidModifierException
 
InvalidModifierException(String) - Constructor for class br.shob.compiler.InvalidModifierException
 
InvalidOperationException - exception br.shob.InvalidOperationException.
This exception is thrown when a client request an operation that the server cannot perform, usually because it is unknown.
InvalidOperationException() - Constructor for class br.shob.InvalidOperationException
Creates new InvalidOperationException without detail message.
InvalidOperationException(String) - Constructor for class br.shob.InvalidOperationException
Constructs an InvalidOperationException with the specified detail message.
InvalidOperationException(String, Throwable) - Constructor for class br.shob.InvalidOperationException
Constructor for the InvalidOperationException object
InvalidOperationException(Throwable) - Constructor for class br.shob.InvalidOperationException
Constructor for the InvalidOperationException object
InvocationException - exception br.shob.InvocationException.
An InvocationException occurs when a SharedReference instance tries to call a method and fails.
InvocationException(String, Throwable) - Constructor for class br.shob.InvocationException
Constructor for the InvocationException object
InvocationException(Throwable) - Constructor for class br.shob.InvocationException
Constructs an InvocationException wraping around the given exception
isAddEvent() - Method in class br.shob.event.StorageEvent
Gets the addEvent attribute of the StorageEvent object
isCellEditable(int, int) - Method in class br.shob.compiler.ReferenceModel
 
isChangeEvent() - Method in class br.shob.event.StorageEvent
Gets the changeEvent attribute of the StorageEvent object
isConnected() - Method in class br.shob.SharedSpace
Checks if this SharedSpace instance is connected to a server
isDebugging - Static variable in class br.shob.storage.StorageManager
 
isDebugging() - Method in class br.shob.SharedSpace
Gets the debugging flag of the SharedSpace object
isDebugging() - Method in class br.shob.server.Server
Gets the debugging attribute of the Server object
isError() - Method in class br.shob.Message
true if the message indicates an error, false otherwise.
isLockable() - Method in class br.shob.server.ObjectInfo
Gets the lockable attribute of the ObjectInfo object
isLocked() - Method in class br.shob.server.ObjectInfo
Gets the locked attribute of the ObjectInfo object
isLocked() - Method in class br.shob.storage.StorageLock
Gets the locked attribute of the StorageLock object
isLockEvent() - Method in class br.shob.event.StorageEvent
Gets the lockEvent attribute of the StorageEvent object
isLoggedIn() - Method in class br.shob.client.ClientCommLayer
Checks if this CommLayer is logged to the global server.
isOnline() - Method in class br.shob.AbstractCommLayer
Checks if this commlayer is online (i.e., running and listening).
isRemoveEvent() - Method in class br.shob.event.StorageEvent
Gets the removeEvent attribute of the StorageEvent object
isUnlockEvent() - Method in class br.shob.event.StorageEvent
Gets the unlockEvent attribute of the StorageEvent object
isUpdated() - Method in class br.shob.SharedObject
Checks if this object's lease has expired.
isWrite(int) - Method in class br.shob.compiler.ReferenceDescriptor
Gets the write attribute of the ReferenceDescriptor object

K

keyPairGeneratorAlgorithm - Static variable in class br.shob.AbstractCommLayer
KeyPair generator algorithm name.

L

loadClass(String) - Method in class br.shob.compiler.ShobClassLoader
This is a simple version for external clients since they will always want the class resolved before it is returned to them.
loadClass(String, boolean) - Method in class br.shob.client.ShobClassLoader
Description of the Method
loadClass(String, boolean) - Method in class br.shob.compiler.ShobClassLoader
This is the required version of loadClass which is called both from loadClass above and from the internal function FindClassFromClass.
loadClassFile(String[]) - Static method in class br.shob.compiler.Configurator
 
loadClassFile(String[]) - Static method in class br.shob.compiler.Compiler
Description of the Method
loader - Variable in class br.shob.ShobObjectInputStream
The class loader used to deserialize shared objects
loadXMLFile(String[]) - Static method in class br.shob.compiler.Configurator
 
loadXMLFile(String[]) - Static method in class br.shob.compiler.Compiler
Description of the Method
lock - Variable in class br.shob.storage.StorageManager.ExtraInfo
 
LOCK_EVENT - Static variable in class br.shob.event.StorageEvent
Description of the Field
lock() - Method in class br.shob.storage.StorageLock
Description of the Method
lock(String) - Method in class br.shob.SharedSpace
This method should not be called directly.
lock(String) - Method in class br.shob.storage.StorageManager
 
log(String) - Method in class br.shob.storage.StorageManager
 
logger - Variable in class br.shob.AbstractCommLayer
Description of the Field
logger - Variable in class br.shob.client.ShobClassLoader
Message logger
loggerName - Variable in class br.shob.client.ShobClassLoader
 
LOGIN - Static variable in class br.shob.Message
Description of the Field
login(HostId) - Method in class br.shob.server.Server
Description of the Method
login(Socket, HostId) - Method in class br.shob.server.ServerCommLayer
Description of the Method
login(String, int) - Method in class br.shob.client.ClientCommLayer
Connects to the global server
LOGOUT - Static variable in class br.shob.Message
Description of the Field
logout() - Method in class br.shob.client.ClientCommLayer
Logs out from the global server, releasing any global resources (such as transaction locks) that this CommLayer might be using.
logout(Socket, URL) - Method in class br.shob.server.ServerCommLayer
Description of the Method
logout(URL) - Method in class br.shob.server.Server
Performs a client's logout.

M

main(String[]) - Static method in class br.shob.compiler.Configurator
 
main(String[]) - Static method in class br.shob.compiler.Compiler
Description of the Method
main(String[]) - Static method in class br.shob.server.Server
For testing
MemoryMapStorage - class br.shob.storage.MemoryMapStorage.
 
MemoryMapStorage() - Constructor for class br.shob.storage.MemoryMapStorage
 
MemoryMapStorage(Map) - Constructor for class br.shob.storage.MemoryMapStorage
 
Message - class br.shob.Message.
represents all the messages exchanged by hosts.
myId - Variable in class br.shob.AbstractCommLayer
The HostId of this host.

N

NotLockedException - exception br.shob.NotLockedException.
This exception is thrown when an attempt is made to unlock a shared object which is not locked.
NotLockedException() - Constructor for class br.shob.NotLockedException
Constructor for the NotLockedException object
NotLockedException(String) - Constructor for class br.shob.NotLockedException
Constructor for the NotLockedException object
NotLoggedInException - exception br.shob.NotLoggedInException.
This exception is thrown when a client tries to log out but it's not logged in.
NotLoggedInException() - Constructor for class br.shob.NotLoggedInException
Constructor for the NotLoggedInException object
NotLoggedInException(String) - Constructor for class br.shob.NotLoggedInException
Constructor for the NotLoggedInException object
NotSerializableException - exception br.shob.NotSerializableException.
Deprecated. replaced by java.io.NotSerializableException
NotSerializableException() - Constructor for class br.shob.NotSerializableException
Deprecated. Constructor for the NotSerializableException object
NotSerializableException(Class) - Constructor for class br.shob.NotSerializableException
Deprecated. Constructor for the NotSerializableException object
NotSerializableException(String) - Constructor for class br.shob.NotSerializableException
Deprecated. Constructor for the NotSerializableException object
NotSharedException - exception br.shob.NotSharedException.
This exception is thrown when an attempt is made to unshare an object which the server doesn't recognize as being shared.
NotSharedException() - Constructor for class br.shob.NotSharedException
Constructor for the NotSharedException object
NotSharedException(String) - Constructor for class br.shob.NotSharedException
Constructor for the NotSharedException object

O

objectChanged(PhantomReference, SharedReference) - Method in class br.shob.event.StorageAdapter
Description of the Method
ObjectInfo - class br.shob.server.ObjectInfo.
 
ObjectInfo() - Constructor for class br.shob.server.ObjectInfo
Creates new ObjectInfo
ObjectInfo(String, SharedEntry) - Constructor for class br.shob.server.ObjectInfo
Constructor for the ObjectInfo object
objectLocked(String) - Method in class br.shob.event.StorageAdapter
Description of the Method
ObjectLostException - exception br.shob.ObjectLostException.
 
ObjectLostException() - Constructor for class br.shob.ObjectLostException
Constructor for the ObjectLostException object
ObjectLostException(String) - Constructor for class br.shob.ObjectLostException
Constructor for the ObjectLostException object
ObjectNotLockableException - exception br.shob.ObjectNotLockableException.
This exception is thrown when a transaction is called but the object cannot be locked.
ObjectNotLockableException() - Constructor for class br.shob.ObjectNotLockableException
Constructor for the ObjectNotLockableException object
ObjectNotLockableException(String) - Constructor for class br.shob.ObjectNotLockableException
Constructor for the ObjectNotLockableException object
objectRemoved(PhantomReference) - Method in class br.shob.event.StorageAdapter
Description of the Method
objectUnlocked(String) - Method in class br.shob.event.StorageAdapter
Description of the Method

P

PhantomCallException - exception br.shob.PhantomCallException.
This exception is thrown when a live method is called on a PhantomReference.
PhantomCallException() - Constructor for class br.shob.PhantomCallException
Constructor for the PhantomCallException object
PhantomCallException(Object) - Constructor for class br.shob.PhantomCallException
Constructor for the PhantomCallException object that receives the name of the method called.
PhantomCallException(Object, Object[]) - Constructor for class br.shob.PhantomCallException
Constructor for the PhantomCallException object that receives the name of the method and the method's arguments.
PhantomReference - class br.shob.PhantomReference.
A PhantomReference is a special reference that contains an old entry and does not: locks on the real object listens for updates synchronizes on the cached value It is used primarily by StorageEnvents who need to inform what value has been replaced.
PhantomReference(String, Serializable) - Constructor for class br.shob.PhantomReference
Constructor for the PhantomReference object.
PhantomReference(String, SharedSpace, Serializable) - Constructor for class br.shob.PhantomReference
Constructor for the PhantomReference object
PING - Static variable in class br.shob.Message
Description of the Field
PING_ALL_HOSTS - Static variable in class br.shob.server.Pinger
Constant that indicates that all hosts should be pingged
PING_OBSERVERS_ONLY - Static variable in class br.shob.server.Pinger
Constant that indicates that only inactive hosts should be pingged
PING_OWNERS_AND_WRITERS - Static variable in class br.shob.server.Pinger
Constant that indicates that only active hosts should be pingged
PING_OWNERS_ONLY - Static variable in class br.shob.server.Pinger
Constant that indicates that only hosts who shared at least one object should be pingged
PING_WRITERS_ONLY - Static variable in class br.shob.server.Pinger
Constant that indicates that only hosts who locked at least one object should be pingged
ping(URL) - Method in class br.shob.server.ServerCommLayer
Description of the Method
ping(URL) - Method in class br.shob.server.Server
Description of the Method
pingAllHosts(Server) - Static method in class br.shob.server.Pinger
Description of the Method
Pinger - class br.shob.server.Pinger.
A TimerTask and static utility pinger.
Pinger(Server) - Constructor for class br.shob.server.Pinger
Creates a pinger that pings all hosts every 5 seconds
Pinger(Server, int) - Constructor for class br.shob.server.Pinger
Creates a pinger that pings by the specified pingMethod every 5 seconds
Pinger(Server, int, long) - Constructor for class br.shob.server.Pinger
Creates a pinger that pings by the specified pingMethod every waitTime seconds
pingObservers(Server) - Static method in class br.shob.server.Pinger
Description of the Method
pingOnce() - Method in class br.shob.server.Pinger
Description of the Method
pingOnce(Server, Set) - Static method in class br.shob.server.Pinger
Main processing method for the Pinger object
pingOwners(Server) - Static method in class br.shob.server.Pinger
Description of the Method
pingWriters(Server) - Static method in class br.shob.server.Pinger
Description of the Method
PlainConnection - class br.shob.server.PlainConnection.
 
PlainConnection(Server, Socket) - Constructor for class br.shob.server.PlainConnection
Constructor for the PlainConnection object
plainSocket - Variable in class br.shob.server.ServerCommLayer
Description of the Field
protocolVersion - Static variable in class br.shob.Message
Description of the Field
put(SharedObject) - Method in class br.shob.SharedSpace
This method should not be called by user applications.
put(String, SharedObject) - Method in class br.shob.storage.MemoryMapStorage
 
put(String, SharedObject) - Method in interface br.shob.storage.Storage
Saves the object to the storage.
put(String, SharedObject) - Method in class br.shob.storage.StorageManager
 

R

recvMessage(Socket, HostId) - Method in class br.shob.AbstractCommLayer
Receives a message using the Root class loader.
recvMessage(Socket, HostId, ClassLoader) - Method in class br.shob.AbstractCommLayer
Reads a message coming from the given socket and verifies its authenticity using the public key from peer.
ReferenceDescriptor - class br.shob.compiler.ReferenceDescriptor.
Description of the Class
ReferenceDescriptor(Class) - Constructor for class br.shob.compiler.ReferenceDescriptor
Constructor for the ReferenceDescriptor object
ReferenceModel - class br.shob.compiler.ReferenceModel.
 
ReferenceModel(ReferenceDescriptor) - Constructor for class br.shob.compiler.ReferenceModel
 
RELOAD - Static variable in class br.shob.Message
Description of the Field
reload(String) - Method in class br.shob.client.ClientCommLayer
Reloads a shard object from its owner.
reload(String, HostId) - Method in class br.shob.client.ClientCommLayer
Reloads a shared object from its owner.
REMOVE_EVENT - Static variable in class br.shob.event.StorageEvent
Description of the Field
remove(String) - Method in class br.shob.SharedSpace
This method should not be called.
remove(String) - Method in class br.shob.storage.MemoryMapStorage
 
remove(String) - Method in interface br.shob.storage.Storage
Removes the object from the storage permanently
remove(String) - Method in class br.shob.storage.StorageManager
 
removeCacheListener(String, StorageListener) - Method in class br.shob.SharedSpace
Removes a StorageListener that listens on the cached objects storage.
removeListener(StorageListener) - Method in class br.shob.event.StorageEventSupport
 
removeOwnedListener(String, StorageListener) - Method in class br.shob.SharedSpace
Removes a StorageListener that listens on the owned objects storage.
removeSpaces(String) - Static method in class br.shob.compiler.Compiler
Description of the Method
removeStorageListener(StorageListener) - Method in class br.shob.storage.StorageManager.ExtraInfo
 
removeStorageListener(String, StorageListener) - Method in class br.shob.storage.StorageManager
 
REQUEST - Static variable in class br.shob.Message
Description of the Field
request(Socket, String) - Method in class br.shob.server.ServerCommLayer
Description of the Method
request(String) - Method in class br.shob.client.ClientCommLayer
Asks the server for the owner of a shared object
request(String) - Method in class br.shob.server.Server
Description of the Method
resolveClass(ObjectStreamClass) - Method in class br.shob.ShobObjectInputStream
Uses its internal class loader to load the classes of the objects read from the stream
ROLLBACK - Static variable in class br.shob.Message
Description of the Field
rollback(SharedReference) - Method in class br.shob.SharedSpace
This method should not be called directly.
rollback(Socket, URL, String) - Method in class br.shob.server.ServerCommLayer
Description of the Method
rollback(String) - Method in class br.shob.client.ClientCommLayer
Asks the server to rollback a transaction.
rollback(URL, String) - Method in class br.shob.server.Server
Description of the Method
run() - Method in class br.shob.SharedSpace.Validator
Main processing method for the Validator object
run() - Method in class br.shob.client.SignedConnection
Main processing method for the SignedConnection object
run() - Method in class br.shob.server.Pinger
Main processing method for the Pinger object
run() - Method in class br.shob.server.SignedConnection
Main processing method for the SignedConnection object
run() - Method in class br.shob.server.PlainConnection
Main processing method for the PlainConnection object

S

scheduleTo(Timer) - Method in class br.shob.server.Pinger
 
send(Socket, String) - Method in class br.shob.client.ClientCommLayer
Sends an object in the owned list through the socket.
sendCached(Socket, String) - Method in class br.shob.client.ClientCommLayer
Sends an object in the cached list through the socket.
sendClass(Socket, String, String) - Method in class br.shob.client.ClientCommLayer
Sends a class file through the socket.
sendMessage(Socket, Message) - Method in class br.shob.AbstractCommLayer
Signs and send a message through the given socket.
server - Variable in class br.shob.server.ServerCommLayer
Description of the Field
Server - class br.shob.server.Server.
This class represents a global space.
Server(String, int, int) - Constructor for class br.shob.server.Server
Creates new Server
ServerCommLayer - class br.shob.server.ServerCommLayer.
 
ServerCommLayer() - Constructor for class br.shob.server.ServerCommLayer
Creates new ServerCommLayer
ServerCommLayer(Server) - Constructor for class br.shob.server.ServerCommLayer
Constructor for the ServerCommLayer object
serverId - Variable in class br.shob.client.ClientCommLayer
The server's host id.
setCanWrite(boolean) - Method in class br.shob.SharedObject
Sets the canWrite attribute of the SharedObject object
setDebugging(boolean) - Method in class br.shob.SharedSpace
Sets the debugging flag of the SharedSpace object
setDebugging(boolean) - Method in class br.shob.server.Server
Sets the debugging attribute of the Server object
setLastUpdated(long) - Method in class br.shob.SharedObject
Sets the lastUpdated attribute of the SharedObject object
setLeaseTime(long) - Method in class br.shob.SharedObject
Sets the leaseTime attribute of the SharedObject object
setLocker(Thread) - Method in class br.shob.storage.StorageLock
Sets the locker attribute of the StorageLock object
setLogger(Logger) - Method in class br.shob.AbstractCommLayer
Sets the logger for this instance
setLogger(Logger) - Method in class br.shob.SharedSpace
Sets the logger attribute of the SharedSpace object
setLogger(Logger) - Method in class br.shob.client.ShobClassLoader
Sets the logger attribute of the ShobClassLoader object
setLost(boolean) - Method in class br.shob.SharedObject
Sets that the object was lost.
setName(int, String) - Method in class br.shob.compiler.ReferenceDescriptor
Sets the name attribute of the ReferenceDescriptor object
setName(String) - Method in class br.shob.compiler.ReferenceDescriptor
Sets the name attribute of the ReferenceDescriptor object
setPingMethod(int) - Method in class br.shob.server.Pinger
Sets the pingMethod attribute of the Pinger object
setPlainSocketURL(URL) - Method in class br.shob.server.Server
This method should not be called.
setTimeStamp(TimeStamp) - Method in class br.shob.SharedObject
Sets the timeStamp attribute of the SharedObject object
setValueAt(Object, int, int) - Method in class br.shob.compiler.ReferenceModel
 
setWaitTime(long) - Method in class br.shob.server.Pinger
Sets the waitTime attribute of the Pinger object
setWrite(int, boolean) - Method in class br.shob.compiler.ReferenceDescriptor
Sets the write attribute of the ReferenceDescriptor object
SHARE - Static variable in class br.shob.Message
Description of the Field
share(SharedObject) - Method in class br.shob.client.ClientCommLayer
Registers an object at the global server.
share(Socket, URL, String) - Method in class br.shob.server.ServerCommLayer
Description of the Method
share(String, Serializable) - Method in class br.shob.SharedSpace
Shares an object with the specified globalName.
share(String, Serializable, String) - Method in class br.shob.SharedSpace
Shares an object with the specified globalName.
share(URL, String, boolean) - Method in class br.shob.server.Server
Description of the Method
SharedObject - class br.shob.SharedObject.
This class defines the Serializable objects that actually travel the global space, are cached in each machine, etc.
SharedObject(String, Serializable) - Constructor for class br.shob.SharedObject
Constructor for the SharedObject object
SharedObject(String, Serializable, String) - Constructor for class br.shob.SharedObject
Constructor for the SharedObject object
SharedObjectDescriptor - class br.shob.util.SharedObjectDescriptor.
 
SharedObjectDescriptor(SharedObject) - Constructor for class br.shob.util.SharedObjectDescriptor
Constructor for the SharedObjectDescriptor object
SharedReference - interface br.shob.SharedReference.
This class represents a reference to shared object.
sharedSpace - Variable in class br.shob.client.ShobClassLoader
Description of the Field
SharedSpace - class br.shob.SharedSpace.
This class represents a connection to the global space in wich the objects are shared.
SharedSpace.Validator - class br.shob.SharedSpace.Validator.
Description of the Class
SharedSpace.Validator(SharedSpace) - Constructor for class br.shob.SharedSpace.Validator
Constructor for the Validator object
SharedSpace.Validator(SharedSpace, long) - Constructor for class br.shob.SharedSpace.Validator
Constructor for the Validator object
SharedSpace(String, int) - Constructor for class br.shob.SharedSpace
Creates a new SharedSpace instance
shob - Variable in class br.shob.SharedSpace.Validator
Description of the Field
shob - Variable in class br.shob.client.ClientCommLayer
The SharedSpace instance that uses this CommLayer
ShobClassLoader - class br.shob.client.ShobClassLoader.
This is a special class loader capable of retrieving classes from an object's owner and loading them in the clients.
ShobClassLoader - class br.shob.compiler.ShobClassLoader.
 
ShobClassLoader(FileInputStream) - Constructor for class br.shob.compiler.ShobClassLoader
 
ShobClassLoader(String, SharedSpace) - Constructor for class br.shob.client.ShobClassLoader
Constructor for the ShobClassLoader object
ShobEvent - class br.shob.event.ShobEvent.
Description of the Class
ShobEvent(Object) - Constructor for class br.shob.event.ShobEvent
Constructor for the ShobEvent object
ShobEventListener - interface br.shob.event.ShobEventListener.
 
ShobException - exception br.shob.ShobException.
This exception is thrown to the upper levels (i.e. user applications) when interfacing with the shob package to indicate low-level erros.
ShobException(String) - Constructor for class br.shob.ShobException
Constructor for the ShobException object
ShobException(String, Throwable) - Constructor for class br.shob.ShobException
Constructor for the ShobException object
ShobException(Throwable) - Constructor for class br.shob.ShobException
Constructor for the ShobException object
ShobObjectInputStream - class br.shob.ShobObjectInputStream.
This is a special ObjectInputStream used in the Communication Layer that uses the given class loader to deserialize objects.
ShobObjectInputStream(InputStream, ClassLoader) - Constructor for class br.shob.ShobObjectInputStream
Constructor for the ShobObjectInputStream object
signatureAlgorithm - Static variable in class br.shob.AbstractCommLayer
The algorithm used in all digital signatures in all hosts.
SignedConnection - class br.shob.client.SignedConnection.
A signed connection handles incoming connections to a client.
SignedConnection - class br.shob.server.SignedConnection.
 
SignedConnection(ClientCommLayer, Socket) - Constructor for class br.shob.client.SignedConnection
Constructor for the SignedConnection object
SignedConnection(Server, Socket) - Constructor for class br.shob.server.SignedConnection
Constructor for the SignedConnection object
signedSocket - Variable in class br.shob.client.ClientCommLayer
The listening socket for this CommLayer
signedSocket - Variable in class br.shob.server.ServerCommLayer
Description of the Field
srAddStorageListener(StorageListener) - Method in class br.shob.DefaultSharedReference
Adds a StorageListener to this reference's listener list.
srBeginTrans() - Method in class br.shob.PhantomReference
This method throws a PhantomCallException and should not be called.
srBeginTrans() - Method in class br.shob.DefaultSharedReference
Initiates a transaction for this object.
srBeginTrans() - Method in interface br.shob.SharedReference
Initiates a transaction for this object.
srCallMethod(String, Class[], Object[]) - Method in class br.shob.DefaultSharedReference
This method calls a method from the shared object.
srCallMethod(String, Class[], Object[]) - Method in interface br.shob.SharedReference
This method calls a method from the shared object.
srCommit() - Method in class br.shob.PhantomReference
This method throws a PhantomCallException and should not be called.
srCommit() - Method in class br.shob.DefaultSharedReference
Commits a transaction.
srCommit() - Method in interface br.shob.SharedReference
Commits a transaction.
srEquals(Object) - Method in class br.shob.DefaultSharedReference
Tests for object equality.
srEquals(SharedReference) - Method in class br.shob.DefaultSharedReference
Tests for reference equality.
srGetGlobalName() - Method in class br.shob.DefaultSharedReference
Acessor for the global name.
srGetGlobalName() - Method in interface br.shob.SharedReference
Acessor for the global name.
srIsUpdated() - Method in class br.shob.PhantomReference
This method always returns true.
srIsUpdated() - Method in class br.shob.DefaultSharedReference
Checks if the corresponding object is updated (i.e., if his lease is expired)
srIsUpdated() - Method in interface br.shob.SharedReference
Checks if the corresponding object is updated (i.e., if his lease is expired)
srRemoveStorageListener(StorageListener) - Method in class br.shob.DefaultSharedReference
Remove a previously added StorageListener from this reference's listener list.
srRollback() - Method in class br.shob.PhantomReference
This method throws a PhantomCallException and should not be called.
srRollback() - Method in class br.shob.DefaultSharedReference
Rolls back a transaction.
srRollback() - Method in interface br.shob.SharedReference
Rolls back a transaction.
srToString() - Method in class br.shob.DefaultSharedReference
Returns a String description of this reference.
srUnshare() - Method in class br.shob.PhantomReference
This method throws a PhantomCallException and should not be called.
srUnshare() - Method in class br.shob.DefaultSharedReference
Unshares this object from the global space.
srUnshare() - Method in interface br.shob.SharedReference
Unshares this object from the global space.
srValidate() - Method in class br.shob.PhantomReference
This method throws a PhantomCallException and should not be called.
srValidate() - Method in class br.shob.DefaultSharedReference
Validates this object.
srValidate() - Method in interface br.shob.SharedReference
Validates this object.
start() - Method in class br.shob.client.ClientCommLayer
Starts this CommLayer
start() - Method in class br.shob.server.ServerCommLayer
Description of the Method
stop() - Method in class br.shob.server.Pinger
Description of the Method
Storage - interface br.shob.storage.Storage.
This interface describes the pluggable storage mechanism for SharedObjects.
StorageAdapter - class br.shob.event.StorageAdapter.
This abstract class contains empty implementatios for storage listening methods.
StorageAdapter() - Method in class br.shob.event.StorageAdapter
Description of the Method
StorageAdapter() - Constructor for class br.shob.event.StorageAdapter
 
StorageEvent - class br.shob.event.StorageEvent.
Description of the Class
StorageEvent(int, PhantomReference, SharedReference) - Constructor for class br.shob.event.StorageEvent
Constructor for the StorageEvent object
StorageEvent(int, String) - Constructor for class br.shob.event.StorageEvent
Constructor for the StorageEvent object
storageEvent(StorageEvent) - Method in class br.shob.event.StorageAdapter
Description of the Method
storageEvent(StorageEvent) - Method in interface br.shob.event.StorageListener
 
StorageEventSupport - class br.shob.event.StorageEventSupport.
 
StorageEventSupport() - Constructor for class br.shob.event.StorageEventSupport
 
StorageException - exception br.shob.storage.StorageException.
This exception is thrown by Storage instances when a storage error occurs.
StorageException() - Constructor for class br.shob.storage.StorageException
Constructor for the StorageException object
StorageException(String) - Constructor for class br.shob.storage.StorageException
Constructor for the StorageException object
StorageException(String, Throwable) - Constructor for class br.shob.storage.StorageException
Constructor for the StorageException object
StorageException(Throwable) - Constructor for class br.shob.storage.StorageException
Constructor for the StorageException object
StorageListener - interface br.shob.event.StorageListener.
 
StorageLock - class br.shob.storage.StorageLock.
Instances of StorageLock act as reentrant locks used in many storage operations.
StorageLock() - Constructor for class br.shob.storage.StorageLock
Constructor for the StorageLock object
StorageManager - class br.shob.storage.StorageManager.
 
StorageManager.ExtraInfo - class br.shob.storage.StorageManager.ExtraInfo.
 
StorageManager.ExtraInfo() - Constructor for class br.shob.storage.StorageManager.ExtraInfo
 
StorageManager(SharedSpace, Storage) - Constructor for class br.shob.storage.StorageManager
 

T

TimeStamp - class br.shob.TimeStamp.
TimeStamp is a wraper for a java.util.Date object.
TimeStamp(Date, PrivateKey) - Constructor for class br.shob.TimeStamp
Main contructor for the class.
toString() - Method in class br.shob.TimeStamp
Description of the Method
toString() - Method in class br.shob.Message
Description of the Method
toString() - Method in class br.shob.ShobException
Description of the Method
toString() - Method in class br.shob.DefaultSharedReference
Returns a String description of this reference.
toString() - Method in class br.shob.InvocationException
Description of the Method
toString() - Method in class br.shob.HostId
Description of the Method
toString() - Method in class br.shob.CommLayerException
Unlike ordinary exceptions, this method calls the toString() method of the cause throwable if it is not null.
toString() - Method in class br.shob.event.StorageEvent
Description of the Method
toTypeName(int) - Static method in class br.shob.Message
Description of the Method

U

UNLOCK - Static variable in class br.shob.Message
Description of the Field
UNLOCK_EVENT - Static variable in class br.shob.event.StorageEvent
Description of the Field
unlock() - Method in class br.shob.storage.StorageLock
Description of the Method
unlock(Socket, URL, String, TimeStamp) - Method in class br.shob.server.ServerCommLayer
Description of the Method
unlock(String) - Method in class br.shob.SharedSpace
This method should not be called directly.
unlock(String) - Method in class br.shob.storage.StorageManager
 
unlock(String, HostId, TimeStamp) - Method in class br.shob.client.ClientCommLayer
Asks the server to unlock an object and finish a transaction (after commit or reload)
unlock(URL, String, TimeStamp) - Method in class br.shob.server.Server
Description of the Method
UNSHARE - Static variable in class br.shob.Message
Description of the Field
unshare(SharedReference) - Method in class br.shob.SharedSpace
This method should not be called directly.
unshare(Socket, URL, String) - Method in class br.shob.server.ServerCommLayer
Description of the Method
unshare(String) - Method in class br.shob.client.ClientCommLayer
Unregisters an object at the server.
unshare(URL, String) - Method in class br.shob.server.Server
Description of the Method
UPDATE - Static variable in class br.shob.Message
Description of the Field
update(String, HostId) - Method in class br.shob.client.ClientCommLayer
Updates the owned object list with the object taken from the writer's cache and finishes a commit process
update(String, HostId) - Method in class br.shob.server.ServerCommLayer
Description of the Method

V

VALIDATE - Static variable in class br.shob.Message
Description of the Field
validate(SharedReference) - Method in class br.shob.SharedSpace
This method should not be called directly.
validate(Socket, String, TimeStamp) - Method in class br.shob.server.ServerCommLayer
Description of the Method
validate(String) - Method in class br.shob.SharedSpace
This method should not be called directly.
validate(String, TimeStamp) - Method in class br.shob.client.ClientCommLayer
Validates a time stamp.
validate(String, TimeStamp) - Method in class br.shob.server.Server
Description of the Method
validateOnce() - Method in class br.shob.SharedSpace.Validator
Description of the Method
verify(PublicKey) - Method in class br.shob.TimeStamp
verifies the autenticity of the TimeStamp.

W

writeClass(Class) - Method in class br.shob.compiler.Compiler
Description of the Method
writeClass(PrintStream, Class) - Method in class br.shob.compiler.Compiler
Description of the Method
writeMethod(PrintStream, Method, Element) - Method in class br.shob.compiler.Compiler
Description of the Method
writeXML(PrintStream) - Method in class br.shob.compiler.ReferenceDescriptor
Description of the Method

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