com.kodemuse.net
Interface ConnectionDecorator

All Known Implementing Classes:
AbstractSSLSocketDecorator

public interface ConnectionDecorator

Transform a socket. This can be used to change the socket options or create socket to Security. Decorators can be chained.
Pattern Used: Decorator

Author:
Harmeet Bedi

Method Summary
 java.net.Socket decorate(java.net.Socket connection)
           
 

Method Detail

decorate

public java.net.Socket decorate(java.net.Socket connection)
                         throws java.io.IOException