public interface MCrequester
An implementation of this class can be used to handle the association in a separate thread.
See MCapplication.requestAssociation(MCremoteApplication, MCrequester)
method description
for more details.
Modifier and Type | Method and Description |
---|---|
void |
processAssociation(MCassociation assoc)
This method is called by the toolkit after the association is successfully established.
|
void processAssociation(MCassociation assoc)
The toolkit uses a separate thread to handle each association, but after this method returns it may reuse the thread for other associations, i.e. the lifetime of the thread is not linked with the lifetime of the association.
If this method throws an exception the toolkit will abort the association.
assoc
- The newly established association.