com.mjh.switchrmi.transport.smtp
Class SmtpClientTransport

java.lang.Object
  |
  +--com.mjh.switchrmi.RmiTransportBase
        |
        +--com.mjh.switchrmi.transport.smtp.SmtpClientTransport
All Implemented Interfaces:
RmiTransport

public class SmtpClientTransport
extends RmiTransportBase

Author:
michaelh To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
 
Fields inherited from interface com.mjh.switchrmi.RmiTransport
ASYNCHRONOUS, HTTP, JABBER, JMS, SMTP, SYNCHRONOUS, TEST
 
Constructor Summary
SmtpClientTransport()
          Constructor for SmtpClientTransport.
 
Method Summary
 java.lang.String getMimeType()
           
 java.io.OutputStream getOutputStream(RmiContext context)
           
protected  java.lang.String getPassword()
           
 UrlInfo getUrlInfo(RmiContext context)
           
protected  java.lang.String getUserName()
           
 void send(RmiContext context)
           
 
Methods inherited from class com.mjh.switchrmi.RmiTransportBase
getInputStream, getName, getSessionIdentifier, getType, getUrl, recv, setName, setSessionIdentifier, setType, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmtpClientTransport

public SmtpClientTransport()
Constructor for SmtpClientTransport.

Method Detail

getOutputStream

public java.io.OutputStream getOutputStream(RmiContext context)
                                     throws java.io.IOException
Specified by:
getOutputStream in interface RmiTransport
Overrides:
getOutputStream in class RmiTransportBase
java.io.IOException
See Also:
com.mjh.switchrmi.RmiTransport#getOutputStream()

getMimeType

public java.lang.String getMimeType()

getUserName

protected java.lang.String getUserName()

getPassword

protected java.lang.String getPassword()

getUrlInfo

public UrlInfo getUrlInfo(RmiContext context)
                   throws java.net.MalformedURLException
Specified by:
getUrlInfo in interface RmiTransport
Overrides:
getUrlInfo in class RmiTransportBase
java.net.MalformedURLException

send

public void send(RmiContext context)
          throws java.lang.Exception
Specified by:
send in interface RmiTransport
Overrides:
send in class RmiTransportBase
java.lang.Exception
See Also:
com.mjh.switchrmi.RmiTransport#send()


Copyright © 2002-2002 Michael J. Henderson & Associates, LLC. All Rights Reserved.