|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.mds.adpt.sms.base.cci.BaseConnectionSpec
public class BaseConnectionSpec
The CCI Connection Spec.
Represents the parameters a client will use to access the adapter. JCA uses these parameters to determine if an existing connection can be reused or if a new connection needs to be created.
Constructor Summary | |
---|---|
BaseConnectionSpec()
Instantiates a new base connection spec. |
|
BaseConnectionSpec(java.lang.String systemID,
java.lang.String password)
Constructor. |
|
BaseConnectionSpec(java.lang.String hostName,
java.lang.String portNumber,
java.lang.String systemID,
java.lang.String password,
boolean confirmDelivery,
java.lang.String bindType)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Override equals method to compare objects. |
java.lang.String |
getBindType()
Gets the bind type. |
int |
getFunctionID()
Gets the Function ID |
java.lang.String |
getHostName()
Get the hostname of the ESMC for this connection specification. |
java.lang.String |
getPassword()
Get the password. |
java.lang.String |
getPortNumber()
Get the port of the ESMC listening for connection requests. |
java.lang.String |
getProtocolID()
Gets the protocol id. |
java.lang.String |
getSmscName()
Gets the smsc name. |
java.lang.String |
getSystemID()
Get the system id. |
java.lang.String |
getSystemType()
Gets the system type. |
void |
setBindType(java.lang.String bindType)
Sets the bind type. |
void |
setFunctionID(int functionID)
Sets the Function ID |
void |
setHostName(java.lang.String hostName)
Set the hostname of the ESMC for this connection specification. |
void |
setPassword(java.lang.String password)
Set the password. |
void |
setPortNumber(java.lang.String portNumber)
Set the port of the ESMC listening for connection requests. |
void |
setProtocolID(java.lang.String protocolID)
Sets the protocol id. |
void |
setSmscName(java.lang.String smscName)
Sets the smsc name. |
void |
setSystemID(java.lang.String systemID)
Set the system id. |
void |
setSystemType(java.lang.String systemType)
Sets the system type. |
java.lang.String |
toString()
Override toString method. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseConnectionSpec()
public BaseConnectionSpec(java.lang.String systemID, java.lang.String password)
systemID
- the user ID a client will use to access SMPPpassword
- the password a client will use to access SMPPpublic BaseConnectionSpec(java.lang.String hostName, java.lang.String portNumber, java.lang.String systemID, java.lang.String password, boolean confirmDelivery, java.lang.String bindType)
hostName
- the host of the server for this connectionportNumber
- the port Number to use for connectingsystemID
- the user ID a client will use to access SMPPpassword
- the password a client will use to access SMPPconfirmDelivery
- the confirm deliverybindType
- the bind typeMethod Detail |
---|
public java.lang.String getSmscName()
public void setSmscName(java.lang.String smscName)
smscName
- the new smsc namepublic java.lang.String getProtocolID()
public void setProtocolID(java.lang.String protocolID)
protocolID
- the new protocol idpublic java.lang.String getSystemType()
public void setSystemType(java.lang.String systemType)
systemType
- the new system typepublic java.lang.String getBindType()
public void setBindType(java.lang.String bindType)
bindType
- the new bind typepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- The password to set.public java.lang.String getSystemID()
public void setSystemID(java.lang.String systemID)
systemID
- The systemID to set.public java.lang.String getHostName()
public void setHostName(java.lang.String hostName)
hostName
- the host namepublic java.lang.String getPortNumber()
public void setPortNumber(java.lang.String portNumber)
portNumber
- the port numberpublic boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- the object to compare with the SMPP connection Spec
public int getFunctionID()
public void setFunctionID(int functionID)
Function
- ID to be setpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |