|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.openorb.orb.net.NullSocketStreamDecorationStrategy
public final class NullSocketStreamDecorationStrategy
A stretegy that does nothing.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openorb.orb.net.SocketStreamDecorationStrategy |
|---|
SocketStreamDecorationStrategy.Factory |
| Method Summary | |
|---|---|
java.io.InputStream |
decorate(java.net.Socket socket,
java.io.InputStream stream)
Returns the passed stream without modifcation. |
java.io.OutputStream |
decorate(java.net.Socket socket,
java.io.OutputStream stream)
Returns the passed stream without midifcation. |
static NullSocketStreamDecorationStrategy |
getInstance()
Returns the singleton instance of this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NullSocketStreamDecorationStrategy getInstance()
public java.io.InputStream decorate(java.net.Socket socket,
java.io.InputStream stream)
throws java.io.IOException
decorate in interface SocketStreamDecorationStrategysocket - 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
decorate in interface SocketStreamDecorationStrategysocket - 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 | |||||||