All About INTERFACE SocketImplFactory in Java



SocketImplFactory interface designs a factory for the socket implementation.It is used by the classes Socket and ServerSocket to create actual socket implementation.

The SocketImplFactory Interface structure is given as:

public interface java.net.SocketImplFactory{
//method
public abstract SocketImpl createSocketImpl();
//returns a new instance of socket impl 
}
 
All About INTERFACE SocketImplFactory in Java All About INTERFACE SocketImplFactory in Java Reviewed by Animesh on July 11, 2013 Rating: 5

No comments:

Powered by Blogger.