|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.orb.net.LegacySocketStreamDecorationStrategy
This strategy handles the functionality of the
iiop.SocketInputStreamClass
an
iiop.SocketOutputStreamClass
properties and is only a
temporary measure for backward compatibility.
Nested Class Summary | |
static class |
LegacySocketStreamDecorationStrategy.Factory
Factory for creating instances of LegacySocketStreamDecorationStrategy . |
Method Summary | |
java.io.InputStream |
decorate(java.net.Socket socket,
java.io.InputStream stream)
Creates a decorated InputStream . |
java.io.OutputStream |
decorate(java.net.Socket socket,
java.io.OutputStream stream)
Creates a decorated OutputStream . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.io.InputStream decorate(java.net.Socket socket, java.io.InputStream stream) throws java.io.IOException
InputStream
.
decorate
in interface SocketStreamDecorationStrategy
socket
- the source of the original streamstream
- the stream to be decorated
InputStream
.
java.io.IOException
- if an I/O error occurs while creating the socket.public java.io.OutputStream decorate(java.net.Socket socket, java.io.OutputStream stream) throws java.io.IOException
OutputStream
.
decorate
in interface SocketStreamDecorationStrategy
socket
- the source of the original streamstream
- the stream to be decorated
OutputStream
.
java.io.IOException
- if an I/O error occurs while creating the socket.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |