public class SmppProviderEndpoint extends ProviderEndpoint implements SmppEndpointType
definition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
SmppProviderEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
int |
getEnquireLinkTimer() |
java.lang.String |
getHost() |
SmppMarshalerSupport |
getMarshaler() |
java.lang.String |
getPassword() |
int |
getPort() |
java.lang.String |
getSystemId() |
java.lang.String |
getSystemType() |
int |
getTransactionTimer() |
protected void |
processInOnly(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage inMsg) |
protected void |
processInOut(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in,
javax.jbi.messaging.NormalizedMessage out) |
void |
setEnquireLinkTimer(int enquireLinkTimer)
This attribute specifies the enquire link timer defining the resend time
interval.
|
void |
setHost(java.lang.String host)
This attribute specifies the host name to use for connecting to the
server.
The default value is null |
void |
setMarshaler(SmppMarshalerSupport marshaler)
With this method you can specify a marshaler class which provides the
logic for converting a sms message into a normalized message.
|
void |
setPassword(java.lang.String password)
This attribute specifies the password to use for connecting to the
server.
The default value is null |
void |
setPort(int port) |
void |
setSystemId(java.lang.String systemId)
This attribute specifies the system id to use for connecting to the
server.
The default value is null |
void |
setSystemType(java.lang.String systemType)
This attribute specifies the system type that will be used for connecting to the server.
|
void |
setTransactionTimer(int transactionTimer)
This attribute specifies the transaction timer defining the maximum
lifetime of a message.
|
void |
start() |
void |
stop() |
void |
validate() |
activate, deactivate, getRole, processdone, fail, getChannel, getContext, getExchangeFactory, send, sendSyncgetDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toStringpublic void start()
throws java.lang.Exception
start in interface Endpointstart in class SimpleEndpointjava.lang.Exceptionpublic void stop()
throws java.lang.Exception
stop in interface Endpointstop in class SimpleEndpointjava.lang.Exceptionpublic void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class AbstractEndpointjavax.jbi.management.DeploymentExceptionprotected void processInOnly(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage inMsg)
throws java.lang.Exception
processInOnly in class ProviderEndpointjava.lang.Exceptionprotected void processInOut(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in,
javax.jbi.messaging.NormalizedMessage out)
throws java.lang.Exception
processInOut in class ProviderEndpointjava.lang.Exceptionpublic java.lang.String getHost()
public void setHost(java.lang.String host)
host - a String value representing the host namepublic int getPort()
public void setPort(int port)
public java.lang.String getSystemId()
public void setSystemId(java.lang.String systemId)
systemId - a String value representing the system idpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - a String value representing the passwordpublic java.lang.String getSystemType()
public void setSystemType(java.lang.String systemType)
systemType - public SmppMarshalerSupport getMarshaler()
public void setMarshaler(SmppMarshalerSupport marshaler)
With this method you can specify a marshaler class which provides the
logic for converting a sms message into a normalized message. This class
has to implement the interface class SmppMarshaler. If you
don't specify a marshaler, the DefaultSmppMarshaler will be
used.
marshaler - a SmppMarshaler class representing the
marshalerpublic int getEnquireLinkTimer()
public void setEnquireLinkTimer(int enquireLinkTimer)
This attribute specifies the enquire link timer defining the resend time
interval.
enquireLinkTimer - a int value representing the enquire
link timerpublic int getTransactionTimer()
public void setTransactionTimer(int transactionTimer)
This attribute specifies the transaction timer defining the maximum
lifetime of a message.
transactionTimer - a int value representing the
transaction timerCopyright © 2005-2016 FuseSource. All Rights Reserved.