Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jboss.crypto;
 /*    */ 
 /*    */ import java.io.IOException;
 /*    */ import java.net.InetAddress;
 /*    */ import java.net.ServerSocket;
 /*    */ import java.net.Socket;
 /*    */ import javax.crypto.SecretKey;
 /*    */ 
 /*    */ public class CipherServerSocket extends ServerSocket
/*    */ {
/*    */   String algorithm;
/*    */   SecretKey key;
/*    */ 
/*    */   public CipherServerSocket(int portint backlogInetAddress bindAddrString algorithmSecretKey key)
/*    */     throws IOException
/*    */   {
/* 43 */     super(portbacklogbindAddr);
/* 44 */     this. = algorithm;
/* 45 */     this. = key;
/*    */   }
/*    */ 
/*    */   public Socket accept() throws IOException
/*    */   {
/* 50 */     Socket s = super.accept();
/* 51 */     return new CipherSocket(sthis.this.);
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.crypto.CipherServerSocket
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X