|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.distribution.client.ERClientApplication
public abstract class ERClientApplication
| Constructor Summary | |
|---|---|
ERClientApplication()
|
|
| Method Summary | |
|---|---|
protected void |
connectToServer()
|
ERDistributedObjectStore |
distributedObjectStore()
|
IOException |
distributionChannelShouldThrowIOException(com.webobjects.eodistribution.client.EODistributionChannel channel,
IOException ioException)
EODistributionChannel.Delegate Gives the delegate an opportunity to handle an I/O exception which occurred while communicating with the server. |
Throwable |
distributionChannelShouldThrowServerException(com.webobjects.eodistribution.client.EODistributionChannel channel,
Throwable clientExceptionForServerException,
String originalServerExceptionClassName,
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(IOException e)
Session timed out or server restarted. You could show a message like: "Your session has timed out. |
protected abstract void |
handleNoInstanceAvailable(IOException e)
Should show a message and exit the app. |
protected abstract 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. |
Preferences |
userDefaults()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ERClientApplication()
| Method Detail |
|---|
protected void connectToServer()
protected abstract String modelPackageName()
protected void registerClassDescriptions(NSArray<EOClassDescription> classDescriptions)
classDescriptions - public ERDistributedObjectStore distributedObjectStore()
public Preferences userDefaults()
public IOException distributionChannelShouldThrowIOException(com.webobjects.eodistribution.client.EODistributionChannel channel,
IOException ioException)
public void handleLostServerConnectionException(LostServerConnectionException e)
protected abstract void handleNoInstanceAvailable(IOException e)
e - protected abstract void handleMissingSession(IOException e)
e -
public Throwable distributionChannelShouldThrowServerException(com.webobjects.eodistribution.client.EODistributionChannel channel,
Throwable clientExceptionForServerException,
String originalServerExceptionClassName,
String originalServerExceptionMessage)
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||