FileDocCategorySizeDatePackage
ServerConnectionContext.javaAPI DocGlassfish v2 API2736Fri May 04 22:34:58 BST 2007com.sun.enterprise.iiop.security

ServerConnectionContext

public final class ServerConnectionContext extends Object implements Serializable
author
Vivek Nagar

Fields Summary
private Socket
socket
Constructors Summary
public ServerConnectionContext()
Default constructor.


           
      
    
public ServerConnectionContext(Socket sock)
Create the security mechanism context. This is stored in TLS.

	this.socket = sock;
    
Methods Summary
public java.net.SocketgetSocket()
Return the socket for this connection.

	return socket;
    
public voidsetSocket(java.net.Socket s)
Set the socket for this connection.

	socket = s;
    
public java.lang.StringtoString()

	String s = "Socket=" + socket;
	return s;