|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.semoa.service.AbstractService de.fhg.igd.semoa.net.AbstractServer de.fhg.igd.semoa.net.RequestServer de.fhg.igd.semoa.comm.Pod de.fhg.igd.semoa.comm.Pods
Provides an SSL server that listens on incoming network
connections for incoming messages. This implementation
requires the SSLMaster
, which should be
published under the path for WhatIs
key
"SSL_MASTER".
Nested Class Summary |
Nested classes inherited from class de.fhg.igd.semoa.net.AbstractServer |
AbstractServer.Job |
Nested classes inherited from class de.fhg.igd.semoa.server.AgentGateway |
AgentGateway.In, AgentGateway.Out |
Field Summary | |
static String |
CIPHER_SUITE
The enabled cipher suit name. |
private static boolean |
CLIENT_AUTHENTICATION
Flag that enables/disables client authentication. |
private static String[] |
DEPEND_
The dependencies to other objects in the global Environment . |
private SSLServerSocketFactory |
factory_
The ServerSocketFactory for SSL sockets. |
private Object |
lock_
The internal lock object. |
static String |
PROTOCOL
The protocol name. |
Fields inherited from class de.fhg.igd.semoa.net.AbstractServer |
bad_, DEFAULT_CAPACITY, good_, MAX_CAPACITY, thread_ |
Fields inherited from class de.fhg.igd.semoa.service.AbstractService |
REV_POSTFIX, REV_PREFIX |
Fields inherited from interface de.fhg.igd.semoa.net.Server |
BOUND_TO_PORT, ERROR, RUNNING, SHUTDOWN, UNDEFINED |
Constructor Summary | |
Pods()
Creates a new instance. |
Method Summary | |
String |
author()
Returns the name of the author of the service. |
protected ServerSocket |
createServerSocket()
Creates a ServerSocket with the initialized
SSLServerSocketFactory factory_ and initialized it
for use with specified CIPHER_SUITE. |
String[] |
dependencies()
Returns the dependencies of this service as described in Service . |
String |
info()
Returns the informative string which should describe the service's essence in a sentence. |
protected void |
initServerSocketFactory()
Initialized the SSLServerSocketFactory that is
needed for creation of SSLServerSocket . |
String |
protocol()
|
String |
revision()
Returns the revision number of this class as a string. |
String |
toString()
|
Methods inherited from class de.fhg.igd.semoa.comm.Pod |
createRequest |
Methods inherited from class de.fhg.igd.semoa.net.RequestServer |
handleConnection |
Methods inherited from class de.fhg.igd.semoa.net.AbstractServer |
bad, createJob, exceptionInfo, getCapacity, getMaximumSize, getPort, getServerState, good, isEnabled, localURL, rebind, run, serverStateChanged, setCapacity, setEnabled, setMaximumSize, setPort, shutdown, signal |
Methods inherited from class de.fhg.igd.semoa.service.AbstractService |
checkDependencies, docs, doPrivileged, doPrivileged, getACC, getEnvironment, majorVersion, minorVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.fhg.igd.semoa.server.MessageGateway.In |
getMaximumSize, localURL, setMaximumSize |
Methods inherited from interface de.fhg.igd.semoa.server.AgentGateway |
isEnabled, setEnabled |
Field Detail |
private static final String[] DEPEND_
Environment
.
public static final String PROTOCOL
private static final boolean CLIENT_AUTHENTICATION
private Object lock_
private SSLServerSocketFactory factory_
ServerSocketFactory
for SSL sockets.
public static final String CIPHER_SUITE
Constructor Detail |
public Pods()
Method Detail |
public String author()
AbstractService
author
in interface Service
author
in class AbstractServer
public String info()
AbstractService
info
in interface Service
info
in class Pod
public String revision()
AbstractService
majorVersion()
, minorVersion
based on the assumption that this method returns a
revision string as generated by rcs(1) for the template
"$Revision: 1.7 $/$Date: 2007-08-08 04:41:53 +0200 (Wed, 08 Aug 2007) $".
revision
in class Pod
public String[] dependencies()
AbstractService
Service
. This default
implementation returns an array of length 0.
dependencies
in interface Service
dependencies
in class Pod
public String protocol()
protocol
in interface AgentGateway
protocol
in class Pod
protected void initServerSocketFactory()
SSLServerSocketFactory
that is
needed for creation of SSLServerSocket
.
protected ServerSocket createServerSocket() throws IOException
ServerSocket
with the initialized
SSLServerSocketFactory
factory_ and initialized it
for use with specified CIPHER_SUITE.
createServerSocket
in class AbstractServer
SSLServerSocket
with enabled chiper suit
IOException
- if the socket cannot be opened due
to an I/O error.public String toString()
toString
in class AbstractServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |