|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ShobException | |
br.shob | |
br.shob.client | |
br.shob.compiler |
Uses of ShobException in br.shob |
Methods in br.shob that throw ShobException | |
void |
PhantomReference.srBeginTrans()
This method throws a PhantomCallException and
should not be called. |
void |
PhantomReference.srCommit()
This method throws a PhantomCallException and
should not be called. |
void |
PhantomReference.srRollback()
This method throws a PhantomCallException and
should not be called. |
void |
PhantomReference.srUnshare()
This method throws a PhantomCallException and
should not be called. |
void |
PhantomReference.srValidate()
This method throws a PhantomCallException and
should not be called. |
void |
DefaultSharedReference.srBeginTrans()
Initiates a transaction for this object. |
Object |
DefaultSharedReference.srCallMethod(String name,
Class[] argTypes,
Object[] args)
This method calls a method from the shared object. |
void |
DefaultSharedReference.srCommit()
Commits a transaction. |
void |
DefaultSharedReference.srRollback()
Rolls back a transaction. |
void |
DefaultSharedReference.srUnshare()
Unshares this object from the global space. |
void |
DefaultSharedReference.srValidate()
Validates this object. |
void |
SharedSpace.connect(String hostname,
int port)
Conects whith the specified server. |
void |
SharedSpace.disconnect()
Disconnects from the server. |
SharedReference |
SharedSpace.get(String globalName)
Returns a SharedReference for a shared object. |
List |
SharedSpace.getExternalDescriptors()
Returns a list of all the objects cached by this SharedSpace . |
List |
SharedSpace.getInternalDescriptors()
Returns a list of all the objects shared by this SharedSpace . |
byte[] |
SharedSpace.getRemoteClassArray(String globalName,
String className)
Gets a byte array with the class definition for className , downloading it from the owner of globalName . |
SharedReference |
SharedSpace.share(String globalName,
Serializable data,
String referenceClassName)
Shares an object with the specified globalName . |
SharedReference |
SharedSpace.share(String globalName,
Serializable data)
Shares an object with the specified globalName . |
protected void |
SharedSpace.beginTrans(SharedReference reference)
This method should not be called directly. |
protected void |
SharedSpace.commit(SharedReference reference)
This method should not be called directly. |
protected SharedReference |
SharedSpace.getRemote(String globalName)
This method should not be called by user applications |
protected void |
SharedSpace.rollback(SharedReference reference)
This method should not be called directly. |
protected void |
SharedSpace.unshare(SharedReference reference)
This method should not be called directly. |
protected void |
SharedSpace.validate(SharedReference reference)
This method should not be called directly. |
protected void |
SharedSpace.validate(String globalName)
This method should not be called directly. |
void |
SharedReference.srBeginTrans()
Initiates a transaction for this object. |
Object |
SharedReference.srCallMethod(String name,
Class[] argTypes,
Object[] args)
This method calls a method from the shared object. |
void |
SharedReference.srCommit()
Commits a transaction. |
void |
SharedReference.srRollback()
Rolls back a transaction. |
void |
SharedReference.srUnshare()
Unshares this object from the global space. |
void |
SharedReference.srValidate()
Validates this object. |
Constructors in br.shob that throw ShobException | |
SharedSpace(String hostname,
int port)
Creates a new SharedSpace instance |
Uses of ShobException in br.shob.client |
Methods in br.shob.client that throw ShobException | |
TimeStamp |
ClientCommLayer.beginTrans(String globalName)
Asks the server to begin a transaction on a shared object |
HostId |
ClientCommLayer.commit(SharedObject obj)
Asks the server to commit a transaction on a shared object |
SharedObject |
ClientCommLayer.get(String globalName,
HostId owner)
this method is called when the owner needs to update the original object. |
byte[] |
ClientCommLayer.getRemoteClassArray(String globalName,
String className,
HostId owner)
Gets the bytes representing a class to be defined. |
HostId |
ClientCommLayer.identify(URL remoteURL)
Gets the HostId for a peer URL. |
void |
ClientCommLayer.login(String hostname,
int port)
Connects to the global server |
void |
ClientCommLayer.logout()
Logs out from the global server, releasing any global resources (such as transaction locks) that this CommLayer might be using. |
SharedObject |
ClientCommLayer.reload(String globalName,
HostId owner)
Reloads a shared object from its owner. |
SharedObject |
ClientCommLayer.reload(String globalName)
Reloads a shard object from its owner. |
HostId |
ClientCommLayer.request(String globalName)
Asks the server for the owner of a shared object |
HostId |
ClientCommLayer.rollback(String globalName)
Asks the server to rollback a transaction. |
void |
ClientCommLayer.share(SharedObject obj)
Registers an object at the global server. |
void |
ClientCommLayer.unlock(String globalName,
HostId writer,
TimeStamp stamp)
Asks the server to unlock an object and finish a transaction (after commit or reload) |
void |
ClientCommLayer.unshare(String globalName)
Unregisters an object at the server. |
void |
ClientCommLayer.update(String globalName,
HostId writer)
Updates the owned object list with the object taken from the writer's cache and finishes a commit process |
HostId |
ClientCommLayer.validate(String globalName,
TimeStamp stamp)
Validates a time stamp. |
protected void |
ClientCommLayer.checkMessage(Message m,
int type,
String errorMsg)
Checks a message for errors. |
Uses of ShobException in br.shob.compiler |
Methods in br.shob.compiler that throw ShobException | |
void |
Compiler.writeClass(PrintStream out,
Class c)
Description of the Method |
void |
Compiler.writeClass(Class c)
Description of the Method |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |