com.mjh.switchrmi
Class RmiTransportBase
java.lang.Object
|
+--com.mjh.switchrmi.RmiTransportBase
- All Implemented Interfaces:
- RmiTransport
- Direct Known Subclasses:
- HttpClientTransport, HttpServletTransport, RmiNullTransport, SmtpClientTransport, TestTransport
- public abstract class RmiTransportBase
- extends java.lang.Object
- implements RmiTransport
- 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RmiTransportBase
public RmiTransportBase()
- Constructor for RmiTransportBase.
setName
protected void setName(java.lang.String name)
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String url)
getUrlInfo
public UrlInfo getUrlInfo(RmiContext context)
throws java.net.MalformedURLException
- Specified by:
getUrlInfo in interface RmiTransport
java.net.MalformedURLException
getName
public java.lang.String getName()
getType
public java.lang.String getType()
- Specified by:
getType in interface RmiTransport
- See Also:
RmiTransport.getType()
setType
public void setType(java.lang.String type)
- Specified by:
setType in interface RmiTransport
setSessionIdentifier
public void setSessionIdentifier(java.lang.Object identifier)
- Specified by:
setSessionIdentifier in interface RmiTransport
getSessionIdentifier
public java.lang.Object getSessionIdentifier()
- Specified by:
getSessionIdentifier in interface RmiTransport
getInputStream
public java.io.InputStream getInputStream(RmiContext context)
throws java.io.IOException
- Specified by:
getInputStream in interface RmiTransport
java.io.IOException- See Also:
com.mjh.switchrmi.RmiTransport#getInputStream()
getOutputStream
public java.io.OutputStream getOutputStream(RmiContext context)
throws java.io.IOException
- Specified by:
getOutputStream in interface RmiTransport
java.io.IOException- See Also:
com.mjh.switchrmi.RmiTransport#getOutputStream()
send
public void send(RmiContext context)
throws java.lang.Exception
- Specified by:
send in interface RmiTransport
java.lang.Exception- See Also:
com.mjh.switchrmi.RmiTransport#send()
recv
public void recv(RmiContext context)
throws java.lang.Exception
- Specified by:
recv in interface RmiTransport
java.lang.Exception- See Also:
com.mjh.switchrmi.RmiTransport#recv()
Copyright © 2002-2002 Michael J. Henderson & Associates, LLC. All Rights Reserved.