|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Association
Dicom Assocation (see DICOM PS 3.8)
| Method Summary | |
|---|---|
void |
closeTransportConnection(boolean aWaitARTIM)
|
boolean |
containsAttribute(String key)
Returns true if this Association contains the attribute with the specified key. |
AssociateResponseHandler |
getAssociateResponseListener()
Deprecated. get the AssociateResponseHandler |
AssociateSession |
getAssociateSession()
Return the AssociateSession
of this association. |
AssociationListener |
getAssociationListener()
Deprecated. get the AssociationListener |
AsynOperationsWindow |
getAsynOperationsWindow()
the AsynOperationsWindow |
Object |
getAttachment()
Returns an attachment of this Association. |
Object |
getAttribute(String key)
Returns the value of user-defined attribute of this Association. |
Set<String> |
getAttributeKeys()
Returns the set of keys of all user-defined attributes. |
AssociationConfiguration |
getConfiguration()
get the AssociationConfiguration |
AssociationMonitor |
getMonitor()
Deprecated. Get the AssociationMonitor |
String |
getTransferSyntaxFromPresentationID(byte aPresentationID)
Deprecated. |
boolean |
isEstablished()
Indicates if an association is established |
boolean |
isReleased()
Indicates that the association is in release State and can be disposed |
Object |
removeAttribute(String key)
Removes a user-defined attribute with the specified key. |
void |
sendAbort(AssociateAbort aAbort)
Send an AssociateAbort request to a remote peer |
void |
sendAssociate(AssociateRequest aRequest)
Send an A-ASSOCIATE request to a remote peer |
void |
sendMessage(byte aPresentationContextID,
AbstractDimseMessage aMessage)
Send a DimseMessage to a remote peer |
void |
sendReject(AssociateReject aAssociateReject)
send a A-ASSOCIATE REJECT |
void |
sendReject(byte aResult,
byte aSource,
byte aReason)
send a A-ASSOCIATE REJECT |
void |
sendReleaseRequest()
Send an A-RELEASE request to a remote peer |
void |
sendReleaseResponse()
Send an A-RELEASE response to a remote peer |
void |
setAssociateRequestListener(AssociateRequestHandler aAssociateRequestHandler)
Deprecated. set the AssociateRequestHandler |
void |
setAssociateResponseListener(AssociateResponseHandler aAssociateResponseHandler)
Deprecated. set the AssociateResponseHandler |
void |
setAssociationListener(AssociationListener aListener)
Deprecated. Set the AssociationListener to by
notify of Associations events |
Object |
setAttachment(Object attachment)
Sets an attachment of this session. |
Object |
setAttribute(String key)
Sets a user defined attribute without a value. |
Object |
setAttribute(String key,
Object value)
Sets a user-defined attribute. |
void |
setConfiguration(AssociationConfiguration aConfiguration)
set the AssociationConfiguration |
void |
setMonitor(AssociationMonitor aAssociationMonitor)
Deprecated. Set the AssociationMonitor for this
Association |
void |
waitAssociate()
Wait an AssociateRequest from a remote peer |
| Method Detail |
|---|
void closeTransportConnection(boolean aWaitARTIM)
throws AssociationException
AssociationExceptionboolean containsAttribute(String key)
@Deprecated AssociateResponseHandler getAssociateResponseListener()
AssociateResponseHandler
AssociateSession getAssociateSession()
Return the
AssociateSession
of this association.
@Deprecated AssociationListener getAssociationListener()
AssociationListener
AsynOperationsWindow getAsynOperationsWindow()
AsynOperationsWindow
Object getAttachment()
Object getAttribute(String key)
key - the key of the attribute
Set<String> getAttributeKeys()
AssociationConfiguration getConfiguration()
AssociationConfiguration
@Deprecated AssociationMonitor getMonitor()
AssociationMonitor
@Deprecated String getTransferSyntaxFromPresentationID(byte aPresentationID)
boolean isEstablished()
boolean isReleased()
Object removeAttribute(String key)
void sendAbort(AssociateAbort aAbort)
throws Exception
AssociateAbort request to a remote peer
aAbort - the Abort request
Exception - if error occurs
void sendAssociate(AssociateRequest aRequest)
throws Exception
aRequest - the AssociateRequest
Exception - if error occurs
void sendMessage(byte aPresentationContextID,
AbstractDimseMessage aMessage)
throws Exception
DimseMessage to a remote peer
aPresentationContextID - the Presentation Context ID to useaMessage - the DimseMessage to send
Exception - if error occurs
void sendReject(AssociateReject aAssociateReject)
throws Exception
AssociateReject - the A-ASSOCIATE REJECT
Exception - if error occurs
void sendReject(byte aResult,
byte aSource,
byte aReason)
throws Exception
aResult - aSource - aReason -
Exception - if error occurs
void sendReleaseRequest()
throws Exception
Exception - if error occurs
void sendReleaseResponse()
throws Exception
Exception@Deprecated void setAssociateRequestListener(AssociateRequestHandler aAssociateRequestHandler)
AssociateRequestHandler
aAssociateRequestHandler - @Deprecated void setAssociateResponseListener(AssociateResponseHandler aAssociateResponseHandler)
AssociateResponseHandler
aAssociateResponseHandler - the listener@Deprecated void setAssociationListener(AssociationListener aListener)
AssociationListener to by
notify of Associations events
aListener - the listenerObject setAttachment(Object attachment)
Object setAttribute(String key)
Boolean.TRUE.
key - the key of the attribute
Object setAttribute(String key,
Object value)
key - the key of the attributevalue - the value of the attribute
void setConfiguration(AssociationConfiguration aConfiguration)
AssociationConfiguration
aConfiguration - the configuration@Deprecated void setMonitor(AssociationMonitor aAssociationMonitor)
AssociationMonitor for this
Association
aAssociationMonitor - the monitor
void waitAssociate()
throws Exception
AssociateRequest from a remote peer
Exception - if error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||