1 7 package org.jboss.crypto; 8 9 import java.io.IOException ; 10 import java.io.Serializable ; 11 import java.net.Socket ; 12 import java.rmi.server.RMIClientSocketFactory ; 13 14 import org.jboss.logging.Logger; 15 16 22 public class CipherClientSocketFactory implements RMIClientSocketFactory , Serializable 23 { 24 private static final long serialVersionUID = -6412485012870705607L; 25 26 27 public CipherClientSocketFactory() 28 { 29 } 30 31 37 public Socket createSocket(String host, int port) 38 throws IOException 39 { 40 CipherSocket socket = null; 41 return socket; 42 } 43 44 public boolean equals(Object obj) 45 { 46 return obj instanceof CipherClientSocketFactory; 47 } 48 public int hashCode() 49 { 50 return getClass().getName().hashCode(); 51 } 52 53 } 54 | Popular Tags |