org.globus.cog.karajan.workflow.service
Class Service
java.lang.Object
org.globus.net.BaseServer
org.globus.cog.karajan.workflow.service.Service
- All Implemented Interfaces:
- Runnable
public class Service
- extends BaseServer
Methods inherited from class org.globus.net.BaseServer |
getCredentials, getHost, getHostname, getPort, getProtocol, getTimeout, getURL, registerDefaultDeactivator, run, setAuthorization, setGssMode, setTimeout, shutdown, unregisterDefaultDeactivator, wrapSocket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Service
public Service(GSSCredential cred)
throws IOException
- Throws:
IOException
Service
public Service(boolean secure,
int port)
throws IOException
- Throws:
IOException
Service
public Service(GSSCredential cred,
int port)
throws IOException
- Throws:
IOException
Service
public Service(GSSCredential cred,
int port,
InetAddress bindTo)
throws IOException
- Throws:
IOException
Service
public Service(int port)
throws IOException
- Throws:
IOException
Service
public Service(boolean secure,
int port,
InetAddress bindTo)
throws IOException
- Throws:
IOException
initialize
public void initialize()
- Overrides:
initialize
in class BaseServer
initializeCredentials
public static GSSCredential initializeCredentials(boolean personal,
String hostcert,
String hostkey)
throws GlobusCredentialException,
GSSException
- Throws:
GlobusCredentialException
GSSException
handleConnection
protected void handleConnection(Socket socket)
- Specified by:
handleConnection
in class BaseServer
getContactString
public String getContactString()
start
protected void start()
- Overrides:
start
in class BaseServer
isRestricted
public boolean isRestricted()
setRestricted
public void setRestricted(boolean restricted)
getContext
public ServiceContext getContext()
main
public static void main(String[] args)