|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ie.ncl.sms.smpp.prot.Binding ie.ncl.sms.smpp.Binding
public class Binding
Create the bind structure - transmitter or receiver. This is used to bind with the SMSC.
Smpp.bind(ie.ncl.sms.smpp.BindResponse, ie.ncl.sms.smpp.Binding)
Field Summary | |
---|---|
static int |
BIND_MODE_RECEIVER
Used to indicate binding mode is receiver. |
static int |
BIND_MODE_TRANSCEIVER
Used to indicate binding mode is transmitter and receiver. |
static int |
BIND_MODE_TRANSMITTER
Used to indicate binding is transmitter. |
Constructor Summary | |
---|---|
Binding(java.lang.String sysid,
java.lang.String systype,
java.lang.String password)
Create a transmitter binding |
|
Binding(java.lang.String sysid,
java.lang.String systype,
java.lang.String password,
Address range,
ExtendedReceiver target)
Create a receiver binding specifying the address range. |
|
Binding(java.lang.String sysid,
java.lang.String systype,
java.lang.String password,
Address range,
Receiver target)
Create a receiver binding specifying the address range. |
|
Binding(java.lang.String sysid,
java.lang.String systype,
java.lang.String password,
Receiver target)
Create a receiver binding without specifying the address range. |
Method Summary | |
---|---|
int |
getBindMode()
Get the bind mode. |
java.lang.Object |
getReceiverTarget()
|
java.lang.String |
getSmscId()
Get the binding id the SMSC returns. |
ie.ncl.sms.smpp.tlv.Version |
getVersionReturned()
|
void |
setBindMode(int bindMode)
Set the bind mode. |
void |
setVersionReturned(ie.ncl.sms.smpp.tlv.Version versionReturned)
|
Methods inherited from class ie.ncl.sms.smpp.prot.Binding |
---|
getPassword, getRange, getSmsc, getSystemId, getSystemType, getVersion, setPassword, setRange, setSmsc, setSystemId, setSystemType, setVersion |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BIND_MODE_TRANSMITTER
public static final int BIND_MODE_RECEIVER
public static final int BIND_MODE_TRANSCEIVER
Constructor Detail |
---|
public Binding(java.lang.String sysid, java.lang.String systype, java.lang.String password)
public Binding(java.lang.String sysid, java.lang.String systype, java.lang.String password, Address range, Receiver target)
public Binding(java.lang.String sysid, java.lang.String systype, java.lang.String password, Address range, ExtendedReceiver target)
public Binding(java.lang.String sysid, java.lang.String systype, java.lang.String password, Receiver target)
Method Detail |
---|
public java.lang.String getSmscId()
public void setBindMode(int bindMode)
setBindMode(int)
,
BIND_MODE_TRANSMITTER
,
BIND_MODE_RECEIVER
,
BIND_MODE_TRANSCEIVER
public int getBindMode()
setBindMode(int)
,
BIND_MODE_TRANSMITTER
,
BIND_MODE_RECEIVER
,
BIND_MODE_TRANSCEIVER
public java.lang.Object getReceiverTarget()
public ie.ncl.sms.smpp.tlv.Version getVersionReturned()
public void setVersionReturned(ie.ncl.sms.smpp.tlv.Version versionReturned)
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |