public final class LegacySocketStreamDecorationStrategy extends java.lang.Object implements SocketStreamDecorationStrategy
iiop.SocketInputStreamClass an
iiop.SocketOutputStreamClass properties and is only a
temporary measure for backward compatibility.| Modifier and Type | Class and Description |
|---|---|
static class |
LegacySocketStreamDecorationStrategy.Factory
Factory for creating instances of
LegacySocketStreamDecorationStrategy. |
public java.io.InputStream decorate(java.net.Socket socket,
java.io.InputStream stream)
throws java.io.IOException
InputStream.decorate in interface SocketStreamDecorationStrategysocket - the source of the original streamstream - the stream to be decoratedInputStream.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 SocketStreamDecorationStrategysocket - the source of the original streamstream - the stream to be decoratedOutputStream.java.io.IOException - if an I/O error occurs while creating the socket.