org.ros.internal.node
Interface RegistrantListener<T>

All Known Subinterfaces:
PublisherListener<T>, ServiceServerListener<T,S>, SubscriberListener<T>
All Known Implementing Classes:
CountDownPublisherListener, CountDownRegistrantListener, CountDownServiceServerListener, CountDownSubscriberListener, DefaultPublisherListener, DefaultServiceServerListener, DefaultSubscriberListener

public interface RegistrantListener<T>


Method Summary
 void onMasterRegistrationFailure(T registrant)
          The registrant has failed to register with the master.
 void onMasterRegistrationSuccess(T registrant)
          The registrant has been registered with the master.
 void onMasterUnregistrationFailure(T registrant)
          The registrant has failed to unregister with the master.
 void onMasterUnregistrationSuccess(T registrant)
          The registrant has been unregistered with the master.
 

Method Detail

onMasterRegistrationSuccess

void onMasterRegistrationSuccess(T registrant)
The registrant has been registered with the master.

Parameters:
registrant - the registrant which has been registered

onMasterRegistrationFailure

void onMasterRegistrationFailure(T registrant)
The registrant has failed to register with the master.

This may be called multiple times per registrant since master registration will be retried until success.

Parameters:
registrant - the registrant which has been registered

onMasterUnregistrationSuccess

void onMasterUnregistrationSuccess(T registrant)
The registrant has been unregistered with the master.

Parameters:
registrant - the registrant which has been unregistered

onMasterUnregistrationFailure

void onMasterUnregistrationFailure(T registrant)
The registrant has failed to unregister with the master.

This may be called multiple times per registrant since master unregistration will be retried until success.

Parameters:
registrant - the registrant which has been unregistered