public abstract class AssociateRQOrAC extends java.lang.Object implements IDIMSEAssociation
| Constructor and Description |
|---|
AssociateRQOrAC()
Instantiates AssociateRQOrAC.
|
AssociateRQOrAC(java.lang.String calledEntityTitle,
java.lang.String callingEntityTitle,
short protocolversion)
Instantiates AssociateRQOrAC with parameters given.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAppContextName()
Retrieves the Application Context Name
|
java.lang.String |
getCalledEntityTitle()
Retrieves the called Application Entity Title.
|
java.lang.String |
getCallingEntityTitle()
Retrieves the calling Application Entity Title.
|
short |
getProtocolversion()
Retrieves the supported Protocol Version
|
void |
setAppContextName(java.lang.String strAppContextName)
Sets the Application Context Name
|
void |
setAssocRQorACPDU(AssociateRQOrACPDU objAssociateRQOrACPDU)
Initializes the AssociateRQOrAC according to the given AssociateRQOrACPDU
|
void |
setCalledEntityTitle(java.lang.String strCalledEntityTitle)
Sets the called Application Entity Title.
|
void |
setCallingEntityTitle(java.lang.String strCallingEntityTitle)
Sets the calling Application Entity Title.
|
void |
setProtocolversion(short shProtocolversion)
Sets the supported Protocol Version
|
boolean |
validate()
Validates Association primitive for mandatory attributes
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPDUTypepublic AssociateRQOrAC()
public AssociateRQOrAC(java.lang.String calledEntityTitle,
java.lang.String callingEntityTitle,
short protocolversion)
calledEntityTitle - String value of Called Entity Title.callingEntityTitle - String value of Calling Entity Title.strAppContextName - String value of Application Context nameprotocolversion - short value of Protocol version.public java.lang.String getCalledEntityTitle()
public void setCalledEntityTitle(java.lang.String strCalledEntityTitle)
strCalledEntityTitle - String value of called Application Entity Title.public java.lang.String getCallingEntityTitle()
public void setCallingEntityTitle(java.lang.String strCallingEntityTitle)
strCallingEntityTitle - String value of calling Application Entity Title.public short getProtocolversion()
public void setProtocolversion(short shProtocolversion)
shProtocolversion - Short value of supported Protocol Versionpublic java.lang.String getAppContextName()
public void setAppContextName(java.lang.String strAppContextName)
strAppContextName - String value of Application Context Namepublic void setAssocRQorACPDU(AssociateRQOrACPDU objAssociateRQOrACPDU)
objAssociateRQOrACPDU - instance of AssociateRQOrACPDUpublic boolean validate()
throws InvalidAssociationPrimitiveException
validate in interface IDIMSEAssociationInvalidAssociationPrimitiveException - if validation fails