public abstract class ERClientApplication
extends java.lang.Object
| Constructor and Description |
|---|
ERClientApplication() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectToServer() |
ERDistributedObjectStore |
distributedObjectStore() |
java.io.IOException |
distributionChannelShouldThrowIOException(com.webobjects.eodistribution.client.EODistributionChannel channel,
java.io.IOException ioException)
EODistributionChannel.Delegate
Gives the delegate an opportunity to handle an I/O exception which occurred while communicating with the server.
|
java.lang.Throwable |
distributionChannelShouldThrowServerException(com.webobjects.eodistribution.client.EODistributionChannel channel,
java.lang.Throwable clientExceptionForServerException,
java.lang.String originalServerExceptionClassName,
java.lang.String originalServerExceptionMessage)
EODistributionChannel.Delegate
Gives the delegate an opportunity to handle an exception that occurred on the server side.
|
void |
handleLostServerConnectionException(LostServerConnectionException e) |
protected abstract void |
handleMissingSession(java.io.IOException e)
Session timed out or server restarted.
You could show a message like: "Your session has timed out. |
protected abstract void |
handleNoInstanceAvailable(java.io.IOException e)
Should show a message and exit the app.
|
protected abstract java.lang.String |
modelPackageName()
Should return the name of the package where your EOEnterpriseObject classes are located
|
protected void |
registerClassDescriptions(NSArray<EOClassDescription> classDescriptions)
Note: assumes your entity names and your classes' simple-names are the same.
|
java.util.prefs.Preferences |
userDefaults() |
protected void connectToServer()
protected abstract java.lang.String modelPackageName()
protected void registerClassDescriptions(NSArray<EOClassDescription> classDescriptions)
classDescriptions - public ERDistributedObjectStore distributedObjectStore()
public java.util.prefs.Preferences userDefaults()
public java.io.IOException distributionChannelShouldThrowIOException(com.webobjects.eodistribution.client.EODistributionChannel channel,
java.io.IOException ioException)
public void handleLostServerConnectionException(LostServerConnectionException e)
protected abstract void handleNoInstanceAvailable(java.io.IOException e)
e - protected abstract void handleMissingSession(java.io.IOException e)
e - public java.lang.Throwable distributionChannelShouldThrowServerException(com.webobjects.eodistribution.client.EODistributionChannel channel,
java.lang.Throwable clientExceptionForServerException,
java.lang.String originalServerExceptionClassName,
java.lang.String originalServerExceptionMessage)
Copyright © 2002 – 2022 Project Wonder.