|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.network.AssociationStatusHandler
public abstract class AssociationStatusHandler
This abstract class provides a mechanism for detecting when an Association closes.
Typically a private sub-class would be declared and instantiated
in an implementation using StorageSOPClassSCPDispatcher.
For example:
private class OurAssociationStatusHandler extends AssociationStatusHandler {
public void sendAssociationReleaseIndication(Association a) throws DicomNetworkException, DicomException, IOException {
if (a != null) {
System.err.println("Association "+a.getAssociationNumber()+" from "+a.getCallingAETitle()+" released");
}
}
}
Association,
StorageSOPClassSCP,
StorageSOPClassSCPDispatcher| Constructor Summary | |
|---|---|
AssociationStatusHandler()
|
|
| Method Summary | |
|---|---|
abstract void |
sendAssociationReleaseIndication(Association a)
Do something when an Association closes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssociationStatusHandler()
| Method Detail |
|---|
public abstract void sendAssociationReleaseIndication(Association a)
throws DicomNetworkException,
DicomException,
IOException
Do something when an Association closes.
a - the Association
IOException
DicomException
DicomNetworkException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||