|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectie.ncl.sms.smpp.server.SmppServerConnectionRequest
public class SmppServerConnectionRequest
| Field Summary | |
|---|---|
static java.lang.String |
factoryPropertiesConfigurationName
|
| Method Summary | |
|---|---|
Connection |
accept(ie.ncl.util.Properties connectionProperties,
ReceiverListener receiverListener,
ErrorListener errorListener)
Accepts an inbound SMPP connection return an SMPP_ROK (0) to the client. |
Connection |
accept(ReceiverListener receiverListener)
Accepts an inbound SMPP connection return an SMPP_ROK (0) to the client |
Connection |
accept(ReceiverListener receiverListener,
ErrorListener errorListener)
|
ie.ncl.util.Properties |
getProperties()
Returns the properties of the connection. |
int |
getRejectStatus()
Gets the error status that is sent in an unsuccessful bind response when the connection is rejected |
java.lang.String |
getSmscId()
Gets the SMSC ID that is sent in a successful bind response when the connection is accepted |
void |
reject()
Rejects an inbound SMPP connection. |
void |
setRejectStatus(int rejectStatus)
Sets the error status that is sent in an unsuccessful bind response when the connection is rejected |
void |
setSmscId(java.lang.String smscId)
Sets the SMSC ID that is sent in a successful bind response when the connection is accepted |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String factoryPropertiesConfigurationName
| Method Detail |
|---|
public ie.ncl.util.Properties getProperties()
getProperties in interface MessageServerConnectionRequest
public Connection accept(ReceiverListener receiverListener)
throws ConnectionException
accept in interface MessageServerConnectionRequestreceiverListener - - the callback called for received messages
ConnectionExceptionpublic java.lang.String getSmscId()
public void setSmscId(java.lang.String smscId)
public Connection accept(ie.ncl.util.Properties connectionProperties,
ReceiverListener receiverListener,
ErrorListener errorListener)
throws ConnectionException
accept in interface MessageServerConnectionRequestconnectionProperties - - the smpp connection properties of the SmppConnection object. If this is null then SmppServer.* properties are loaded from the Factory.properties file.receiverListener - - the callback called to notify application of received messageserrorListener - - the callback called to notify application of connection errors
ConnectionExceptionSmppConnection,
setSmscId(String)
public Connection accept(ReceiverListener receiverListener,
ErrorListener errorListener)
throws ConnectionException
accept in interface MessageServerConnectionRequestConnectionExceptionpublic int getRejectStatus()
public void setRejectStatus(int rejectStatus)
rejectStatus - public void reject()
reject in interface MessageServerConnectionRequestsetRejectStatus(int)
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||