|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DimseService
Base class to implement a DimseService.
DimseMessageHandlerDimseServicesManagerDimseServicesManager is in charge to
Bind/Unbind a service (like a ServerSocket) for a Specific MessageID. DimseServiceBroker
| Method Summary | |
|---|---|
void |
associationAborted(Association aAssociation,
AssociateAbort aAbort)
|
void |
bind(int aMessageID,
Association aAssociation)
Bind a service |
DimseServiceConfiguration |
getConfiguration()
get the DimseServiceConfiguration |
int |
getMessageID()
Return the Message ID |
String |
getName()
Return the name of the Service |
void |
handleMessage(byte aPresentationContextID,
AbstractDimseMessage aMessage)
send a mesage |
boolean |
isBinded()
Return true is the service is currently binded |
boolean |
isBinded(Association aAssociation)
|
boolean |
isFinished()
Return true if the service has finish his work, and can be unBind (should not receive messages anymore) |
void |
setConfiguration(DimseServiceConfiguration aConfiguration)
set the DimseServiceConfiguration |
void |
unBind()
Unbind the service, called when the service said isFinished |
| Method Detail |
|---|
void associationAborted(Association aAssociation,
AssociateAbort aAbort)
throws Exception
Exception
void bind(int aMessageID,
Association aAssociation)
aMessageID - the message IDaAssociation - the AssociationDimseServiceConfiguration getConfiguration()
int getMessageID()
String getName()
void handleMessage(byte aPresentationContextID,
AbstractDimseMessage aMessage)
throws Exception
aPresentationContextID - the PresentationContextIDaMessage - the DimseMessage
Exceptionboolean isBinded()
boolean isBinded(Association aAssociation)
boolean isFinished()
void setConfiguration(DimseServiceConfiguration aConfiguration)
aConfiguration - the Configurationvoid unBind()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||