org.demac.process.base.dpdl
Interface ConnectionResetHandler

All Known Implementing Classes:
ConnectionResetHandlerImpl

public interface ConnectionResetHandler

An element to handle connection resets occuring during the execution of an activity.


Method Summary
 Exception getException()
           
 java.util.Hashtable getExtendedAttributes()
           
 java.lang.String getId()
           
 java.lang.String getNotification()
           
 int getRetries()
           
 boolean hasRetries()
          Method to determine whether retrying to connect the disconnected service is requested or not
 boolean isNewSearchRequested()
          Method to determine whether searching for a new service is requested or not
 boolean isNotificationRequested()
          Method to determine whether a notification is requested or not
 

Method Detail

getId

java.lang.String getId()
Returns:
the ID of the org.demac.process.base.dpdl.ConnectionResetHandler.

getException

Exception getException()
Returns:
the org.demac.process.base.dpdl.Execption specified in the org.demac.process.base.dpdl.ConnectionResetHandler. Return null, if no org.demac.process.base.dpdl.Exception specified.

isNewSearchRequested

boolean isNewSearchRequested()
Method to determine whether searching for a new service is requested or not

Returns:
the request

isNotificationRequested

boolean isNotificationRequested()
Method to determine whether a notification is requested or not

Returns:
the request

getNotification

java.lang.String getNotification()
Returns:
the textual notification specified in the org.demac.process.base.dpdl.ConnectionResetHandler. Return null, if no notification specified.

getRetries

int getRetries()
Returns:
the number of retries specified in the org.demac.process.base.dpdl.ConnectionResetHandler. Return -1, if no retries are specified.

hasRetries

boolean hasRetries()
Method to determine whether retrying to connect the disconnected service is requested or not

Returns:
the request

getExtendedAttributes

java.util.Hashtable getExtendedAttributes()
Returns:
the org.demac.process.base.dpdl.ExtendedAttributes of the org.demac.process.base.dpdl.ConnectionResetHandler for example optional information.