org.glite.voms.contact
Class VOMSSocket
java.lang.Object
org.glite.voms.contact.VOMSSocket
public class VOMSSocket
- extends Object
The VOMSSocket
class is used to manage the creation of the gsi socket used for communication with
the VOMS server.
- Author:
- Andrea Ceccanti, Vincenzo Ciaschini
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static VOMSSocket instance(UserCredentials cred,
String hostDN,
int proxyType)
instance
public static VOMSSocket instance(UserCredentials cred,
String hostDN)
getFactory
protected SSLSocketFactory getFactory()
throws IOException,
GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
connect
protected void connect(String host,
int port)
throws IOException,
GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
close
public void close()
throws IOException
- Throws:
IOException
getContext
public SSLContext getContext()
isClosed
public boolean isClosed()
isConnected
public boolean isConnected()
shutdownInput
public void shutdownInput()
throws IOException
- Throws:
IOException
shutdownOutput
public void shutdownOutput()
throws IOException
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.