org.dcm4che.net
Interface Association


public interface Association

Version:
$Revision: 14395 $

Revisions:

20020728 gunter:

20020802 gunter:

20020810 gunter:

Author:
{full name}., Gunter Zeilinger
See Also:

Field Summary
static int ASSOCIATION_ESTABLISHED
           
static int ASSOCIATION_TERMINATING
           
static int AWAITING_READ_ASS_RP
           
static int AWAITING_READ_ASS_RQ
           
static int AWAITING_READ_REL_RP
           
static int AWAITING_WRITE_ASS_RP
           
static int AWAITING_WRITE_ASS_RQ
           
static int AWAITING_WRITE_REL_RP
           
static int IDLE
           
static int RCAS_AWAITING_READ_REL_RP
           
static int RCAS_AWAITING_WRITE_REL_RP
           
static int RCRS_AWAITING_READ_REL_RP
           
static int RCRS_AWAITING_WRITE_REL_RP
           
 
Method Summary
 void abort(AAbort aa)
           
 PDU accept(AcceptorPolicy policy)
           
 void addAssociationListener(AssociationListener l)
           
 PDU connect(AAssociateRQ rq)
           
 int countAcceptedPresContext()
           
 AAbort getAAbort()
           
 AAssociateAC getAAssociateAC()
           
 AAssociateRJ getAAssociateRJ()
           
 AAssociateRQ getAAssociateRQ()
           
 ExtNegotiation getAcceptedExtNegotiation(java.lang.String cuid)
           
 PresContext getAcceptedPresContext(java.lang.String asuid, java.lang.String tsuid)
           
 java.lang.String getAcceptedTransferSyntaxUID(int pcid)
           
 int getAcTimeout()
          Getter for property acTimeout.
 java.lang.String getCalledAET()
           
 java.lang.String getCallingAET()
           
 int getDimseTimeout()
          Getter for property dimseTimeout.
 int getMaxOpsInvoked()
           
 int getMaxOpsPerformed()
           
 java.lang.Object getProperty(java.lang.Object key)
           
 PresContext getProposedPresContext(int pcid)
           
 ExtNegotiation getRequestedExtNegotiation(java.lang.String cuid)
           
 int getRqTimeout()
          Getter for property rqTimeout.
 java.net.Socket getSocket()
           
 int getSoCloseDelay()
          Getter for property soCloseDelay.
 int getState()
           
 java.lang.String getStateAsString()
           
 boolean isPackPDVs()
          Getter for property packPDVs.
 boolean isRequestor()
           
 java.util.List listAcceptedPresContext(java.lang.String asuid)
           
 int nextMsgID()
           
 void putProperty(java.lang.Object key, java.lang.Object value)
           
 Dimse read()
           
 PDU release(int timeout)
           
 void removeAssociationListener(AssociationListener l)
           
 void setAcTimeout(int acTimeout)
          Setter for property acTimeout.
 void setDimseTimeout(int dimseTimeout)
          Setter for property dimseTimeout.
 void setPackPDVs(boolean packPDVs)
          Setter for property packPDVs.
 void setRqTimeout(int rqTimeout)
          Setter for property rqTimeout.
 void setSoCloseDelay(int soCloseDelay)
          Setter for property soCloseDelay.
 void write(Dimse dimse)
           
 

Field Detail

IDLE

static final int IDLE
See Also:
Constant Field Values

AWAITING_READ_ASS_RQ

static final int AWAITING_READ_ASS_RQ
See Also:
Constant Field Values

AWAITING_WRITE_ASS_RP

static final int AWAITING_WRITE_ASS_RP
See Also:
Constant Field Values

AWAITING_WRITE_ASS_RQ

static final int AWAITING_WRITE_ASS_RQ
See Also:
Constant Field Values

AWAITING_READ_ASS_RP

static final int AWAITING_READ_ASS_RP
See Also:
Constant Field Values

ASSOCIATION_ESTABLISHED

static final int ASSOCIATION_ESTABLISHED
See Also:
Constant Field Values

AWAITING_READ_REL_RP

static final int AWAITING_READ_REL_RP
See Also:
Constant Field Values

AWAITING_WRITE_REL_RP

static final int AWAITING_WRITE_REL_RP
See Also:
Constant Field Values

RCRS_AWAITING_WRITE_REL_RP

static final int RCRS_AWAITING_WRITE_REL_RP
See Also:
Constant Field Values

RCAS_AWAITING_READ_REL_RP

static final int RCAS_AWAITING_READ_REL_RP
See Also:
Constant Field Values

RCRS_AWAITING_READ_REL_RP

static final int RCRS_AWAITING_READ_REL_RP
See Also:
Constant Field Values

RCAS_AWAITING_WRITE_REL_RP

static final int RCAS_AWAITING_WRITE_REL_RP
See Also:
Constant Field Values

ASSOCIATION_TERMINATING

static final int ASSOCIATION_TERMINATING
See Also:
Constant Field Values
Method Detail

isRequestor

boolean isRequestor()

getState

int getState()

getStateAsString

java.lang.String getStateAsString()

addAssociationListener

void addAssociationListener(AssociationListener l)

removeAssociationListener

void removeAssociationListener(AssociationListener l)

nextMsgID

int nextMsgID()

connect

PDU connect(AAssociateRQ rq)
            throws java.io.IOException
Throws:
java.io.IOException

accept

PDU accept(AcceptorPolicy policy)
           throws java.io.IOException
Throws:
java.io.IOException

read

Dimse read()
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(Dimse dimse)
           throws java.io.IOException
Throws:
java.io.IOException

release

PDU release(int timeout)
            throws java.io.IOException
Throws:
java.io.IOException

abort

void abort(AAbort aa)
           throws java.io.IOException
Throws:
java.io.IOException

getMaxOpsInvoked

int getMaxOpsInvoked()

getMaxOpsPerformed

int getMaxOpsPerformed()

getAcceptedTransferSyntaxUID

java.lang.String getAcceptedTransferSyntaxUID(int pcid)

getAcceptedPresContext

PresContext getAcceptedPresContext(java.lang.String asuid,
                                   java.lang.String tsuid)

getProposedPresContext

PresContext getProposedPresContext(int pcid)

listAcceptedPresContext

java.util.List listAcceptedPresContext(java.lang.String asuid)

getRequestedExtNegotiation

ExtNegotiation getRequestedExtNegotiation(java.lang.String cuid)

getAcceptedExtNegotiation

ExtNegotiation getAcceptedExtNegotiation(java.lang.String cuid)

countAcceptedPresContext

int countAcceptedPresContext()

getAAssociateRQ

AAssociateRQ getAAssociateRQ()

getAAssociateAC

AAssociateAC getAAssociateAC()

getAAssociateRJ

AAssociateRJ getAAssociateRJ()

getAAbort

AAbort getAAbort()

getSocket

java.net.Socket getSocket()

getCallingAET

java.lang.String getCallingAET()

getCalledAET

java.lang.String getCalledAET()

getProperty

java.lang.Object getProperty(java.lang.Object key)

putProperty

void putProperty(java.lang.Object key,
                 java.lang.Object value)

getRqTimeout

int getRqTimeout()
Getter for property rqTimeout.

Returns:
Value of property rqTimeout.

setRqTimeout

void setRqTimeout(int rqTimeout)
Setter for property rqTimeout.

Parameters:
rqTimeout - New value of property rqTimeout.

getDimseTimeout

int getDimseTimeout()
Getter for property dimseTimeout.

Returns:
Value of property dimseTimeout.

setDimseTimeout

void setDimseTimeout(int dimseTimeout)
Setter for property dimseTimeout.

Parameters:
dimseTimeout - New value of property dimseTimeout.

getSoCloseDelay

int getSoCloseDelay()
Getter for property soCloseDelay.

Returns:
Value of property soCloseDelay.

setSoCloseDelay

void setSoCloseDelay(int soCloseDelay)
Setter for property soCloseDelay.

Parameters:
soCloseDelay - New value of property soCloseDelay.

getAcTimeout

int getAcTimeout()
Getter for property acTimeout.

Returns:
Value of property acTimeout.

setAcTimeout

void setAcTimeout(int acTimeout)
Setter for property acTimeout.

Parameters:
acTimeout - New value of property acTimeout.

isPackPDVs

boolean isPackPDVs()
Getter for property packPDVs.

Returns:
Value of property packPDVs.

setPackPDVs

void setPackPDVs(boolean packPDVs)
Setter for property packPDVs.

Parameters:
packPDVs - New value of property packPDVs.