|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface MdConnectionListener
Interface used for notifying clients when a connection to the metadata server has been lost. The intent of this interface is to signal clients when a request made to the metadata server fails due to a lost or dropped connection. It is then up to the client to decide whether a reconnection to the server can and should be made.
Note: It is the client's responsibility to perform the actual reconnection to the metadata server. The factory will not reconnect for you, rather it will simply notify the caller that an error condition due to a possible lost server connection has been encountered.
MdFactory.setMdConnectionListener(MdConnectionListener)| Method Summary | |
|---|---|
abstract boolean |
notify(MdConnectionEvent event)
Sends a notification that a request to the metadata server has failed because of a lost or dropped connection. |
| Method Detail |
|---|
boolean notify(MdConnectionEvent event)
throws java.rmi.RemoteException
event - the reconnection event
java.rmi.RemoteException
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||