public interface Transport
After calling the 'open()' method of this interface, the upper layer may establish a connection to the SMSC.
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the connection to the MMSC.
|
void |
init(java.util.Properties props)
Initialize the Transport-Layer.
|
boolean |
isConnected()
Determine if the connection to the MMSC is currently established.
|
void |
open()
Prepare connectivity to the MMSC.
|
void open() throws TransportException, java.io.IOException
java.io.IOException
- if an I/O error occurs.TransportException
- if the connection cannot be established.void close() throws TransportException, java.io.IOException
java.io.IOException
- if an I/O error occurs.TransportException
- if the connection cannot be closed.void init(java.util.Properties props) throws TransportException
props
- Configuration Properties.TransportException
- if initialisation fails.boolean isConnected()
object XP, Inc. © 2000-2013. All rights reserved object XP