|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objectxp.mms.transport.DirectConnection
This class may be used as a transport implementation if the MMS Relay/Server is directly reachable using TCP/IP. Since direct connections require no action from the Transport implementation, all methods in this class are empty.
If the MMS Relay/Server is located in another subnet, a route to it must be manually added to the operating systems routing table.
| Constructor Summary | |
DirectConnection()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DirectConnection()
| Method Detail |
public void open()
throws TransportException,
java.io.IOException
Transport
open in interface Transportjava.io.IOException - if an I/O error occurs.
TransportException - if the connection cannot be established.
public void close()
throws TransportException,
java.io.IOException
Transport
close in interface TransportTransportException - if the connection cannot be closed.
java.io.IOException - if an I/O error occurs.
public void init(java.util.Properties props)
throws TransportException
Transport
init in interface Transportprops - Configuration Properties.
TransportException - if initialisation fails.public boolean isConnected()
Transport
isConnected in interface Transport
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||