EPP RTK
for Java v 0.4.1

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

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--com.tucows.oxrs.epp.rtk.RTKBase
              |
              +--com.tucows.oxrs.epp.rtk.transport.EPPTransportBase
                    |
                    +--com.tucows.oxrs.epp.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.


Fields inherited from class com.tucows.oxrs.epp.rtk.transport.EPPTransportBase
DEFAULT_SOCKET_TIMEOUT, epp_host_name_, epp_host_port_, epp_timeout_
 
Fields inherited from class com.tucows.oxrs.epp.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.epp.rtk.transport.EPPTransportBase
getEPPHostName, getEPPHostPort, getEPPTimeout, initialize, setEPPHostName, setEPPHostPort, setEPPTimeout
 
Methods inherited from class com.tucows.oxrs.epp.rtk.RTKBase
_ids, debug, debug, getDebugLevel, getRTKProperties, setDebugLevel, setDebugLevel
 
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.
Overrides:
connect in class EPPTransportBase
Following copied from class: com.tucows.oxrs.epp.rtk.transport.EPPTransportBase
Throws:
java.net.SocketException -  
java.io.IOException -  
java.net.UnknownHostException -  

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.
Overrides:
disconnect in class EPPTransportBase
Following copied from class: com.tucows.oxrs.epp.rtk.transport.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.
Overrides:
readFromServer in class EPPTransportBase
Following copied from class: com.tucows.oxrs.epp.rtk.transport.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.
Overrides:
writeToServer in class EPPTransportBase
Following copied from class: com.tucows.oxrs.epp.rtk.transport.EPPTransportBase
Parameters:
string_to_server - The EPP message to the server.
Throws:
epp_Exception -  

EPP RTK
for Java v 0.4.1

Copyright © 2001 - Tucows, Inc.