oracle.panama.messaging.transport
Interface DriverController
- public interface DriverController
The transport driver controller interface.
It can be used to get the driver listener.
getVersion
public java.lang.String getVersion()
- Get the version of this transport system.
- Returns:
- the transport version.
getMessageListener
public MessageListener getMessageListener()
- Get the message listener, which is an instance
of the message listener interface. This listener should
be used by all drivers to report received messages
to the transport.
- Returns:
- the driver message listener instance.
getStatusListener
public StatusListener getStatusListener()
- Get the status listener, which is an instance
of the status listener interface. This listener should
be used by all drivers to report received positive
status reports to the transport.
- Returns:
- the driver status listener instance.
getGSMSmartMsgEncoders
public GSMSmartMsgEncoder[] getGSMSmartMsgEncoders()
- Get all the GSMSmartMsgEncoder, which can be used
to encode GSM smart message. The encoder will be
applied in the order till (1) a smart message is
encoded successfully, or (2) an exception is
caught. If an encoder doesn't know how to
encode somehow, it should return null.
- Returns:
- all the GSMSmartMsgEncoder instances.