EPP RTK
for Java v 0.7.2

com.tucows.oxrs.epp0402.rtk.transport
Class EPPTransportSMTP

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--com.tucows.oxrs.epp0402.rtk.RTKBase
              |
              +--com.tucows.oxrs.epp0402.rtk.transport.EPPTransportBase
                    |
                    +--com.tucows.oxrs.epp0402.rtk.transport.EPPTransportSMTP
All Implemented Interfaces:
org.omg.CORBA.Object

public class EPPTransportSMTP
extends EPPTransportBase

Provides methods necessary to communicate via SMTP with an EPP Server.


Field Summary
 
Fields inherited from class com.tucows.oxrs.epp0402.rtk.transport.EPPTransportBase
DEFAULT_SOCKET_TIMEOUT, epp_host_name_, epp_host_port_, epp_timeout_
 
Fields inherited from class com.tucows.oxrs.epp0402.rtk.RTKBase
CRLF, DATE_FMT, DEBUG_LEVEL_ONE, DEBUG_LEVEL_THREE, DEBUG_LEVEL_TWO, DEBUG_NONE, RTK_VERSION, UTC_FMT
 
Constructor Summary
EPPTransportSMTP()
          Default construtor
 
Method Summary
 void connect()
          Empty implemention of the connect method from EPPTransportBase.
 void disconnect()
          Empty implemention of the disconnect method from EPPTransportBase.
 java.lang.String readFromServer()
          Reads an EPP message received from the server via SMTP (i.e.
 void writeToServer(java.lang.String string_to_server)
          Sends an EPP message to the server via SMTP (i.e.
 
Methods inherited from class com.tucows.oxrs.epp0402.rtk.transport.EPPTransportBase
getEPPHostName, getEPPHostPort, getEPPTimeout, initialize, setEPPHostName, setEPPHostPort, setEPPTimeout
 
Methods inherited from class com.tucows.oxrs.epp0402.rtk.RTKBase
_ids, debug, debug, getDebugLevel, getDebugPrintStream, getRTKProperties, setDebugLevel, setDebugLevel, setDebugPrintStream
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EPPTransportSMTP

public EPPTransportSMTP()
Default construtor

Method Detail

connect

public void connect()
             throws java.io.IOException,
                    java.net.UnknownHostException
Empty implemention of the connect method from EPPTransportBase. Does nothing because there is no persistent connection to the server in SMTP.

Specified by:
connect in class EPPTransportBase
Throws:
java.net.UnknownHostException
java.io.IOException

disconnect

public void disconnect()
                throws java.io.IOException
Empty implemention of the disconnect method from EPPTransportBase. Does nothing because there is no persistent connection to the server in SMTP.

Specified by:
disconnect in class EPPTransportBase
Throws:
java.io.IOException

readFromServer

public java.lang.String readFromServer()
                                throws epp_Exception
Reads an EPP message received from the server via SMTP (i.e. an email). Does nothing at this time. Code must be writen.

Specified by:
readFromServer in class EPPTransportBase
Returns:
The EPP message from the server.
Throws:
epp_Exception

writeToServer

public void writeToServer(java.lang.String string_to_server)
                   throws epp_Exception
Sends an EPP message to the server via SMTP (i.e. an email). Does nothing at this time. Code must be writen.

Specified by:
writeToServer in class EPPTransportBase
Parameters:
string_to_server - The EPP message to the server.
Throws:
epp_Exception

EPP RTK
for Java v 0.7.2

Copyright ? 2001-2002 - Tucows, Inc., 2003 - LibertyRMS