public class BindRequest extends Object
Constructor and Description |
---|
BindRequest(Bind bind,
ServerResponseHandler responseHandler) |
BindRequest(int sequenceNumber,
BindType bindType,
String systemId,
String password,
String systemType,
TypeOfNumber addrTon,
NumberingPlanIndicator addrNpi,
String addressRange,
ServerResponseHandler responseHandler) |
Modifier and Type | Method and Description |
---|---|
void |
accept(String systemId)
Accept the bind request.
|
String |
getAddressRange() |
NumberingPlanIndicator |
getAddrNpi() |
TypeOfNumber |
getAddrTon() |
BindParameter |
getBindParameter()
Deprecated.
|
BindType |
getBindType() |
String |
getPassword() |
String |
getSystemId() |
String |
getSystemType() |
void |
reject(int errorCode)
Reject the bind request.
|
public BindRequest(int sequenceNumber, BindType bindType, String systemId, String password, String systemType, TypeOfNumber addrTon, NumberingPlanIndicator addrNpi, String addressRange, ServerResponseHandler responseHandler)
public BindRequest(Bind bind, ServerResponseHandler responseHandler)
@Deprecated public BindParameter getBindParameter()
public BindType getBindType()
public String getSystemId()
public String getPassword()
public String getSystemType()
public TypeOfNumber getAddrTon()
public NumberingPlanIndicator getAddrNpi()
public String getAddressRange()
public void accept(String systemId) throws PDUStringException, IllegalStateException, IOException
systemId
- is the system identifier that will be send to ESME.PDUStringException
- if the system id is not valid.IllegalStateException
- if the acceptance or rejection has been made.IOException
- is the connection already closed.#reject(ProcessRequestException)
public void reject(int errorCode) throws IllegalStateException, IOException
errorCode
- is the reason of rejection.IllegalStateException
- if the acceptance or rejection has been made.IOException
- if the connection already closed.#accept()}