|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.danube.service.Service
org.abstracthorizon.danube.service.server.ServerService
org.abstracthorizon.danube.service.server.MultiThreadServerService
org.abstracthorizon.danube.service.server.MultiThreadServerSocketService
org.abstracthorizon.danube.service.server.MultiThreadServerSSLSocketService
public class MultiThreadServerSSLSocketService
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.abstracthorizon.danube.service.server.MultiThreadServerService |
|---|
MultiThreadServerService.ConnectionHandlerThread |
| Field Summary | |
|---|---|
protected String |
keystorePassword
Keystore password |
protected URL |
keystoreURL
Keystore file name |
| Fields inherited from class org.abstracthorizon.danube.service.server.MultiThreadServerSocketService |
|---|
newSocketTimeout, serverSocket, serverSocketTimeout |
| Fields inherited from class org.abstracthorizon.danube.service.server.MultiThreadServerService |
|---|
activeConnections, executor, graceFinishPeriod |
| Fields inherited from class org.abstracthorizon.danube.service.server.ServerService |
|---|
connectionHandler, socketAddress |
| Fields inherited from class org.abstracthorizon.danube.service.Service |
|---|
DESTROYED, INITIALIZED, listeners, logger, name, NOT_INITIALIZED, RUNNING, SERVICE_STATE_NAMES, STARTED, STOPPED, STOPPING, stopService |
| Constructor Summary | |
|---|---|
MultiThreadServerSSLSocketService()
Default constructor |
|
| Method Summary | |
|---|---|
protected void |
createServerSocket()
Creates server socket |
File |
getKeyStoreFile()
Returns keystore file |
protected InputStream |
getKeyStoreInputStream()
Returns keystore as input stream. |
String |
getKeyStorePassword()
Returns keystore password |
URL |
getKeyStoreURL()
Returns keystore filename |
void |
setKeyStoreFile(File file)
Sets keystore file |
void |
setKeyStorePassword(String passPhrase)
Stores keystore password |
void |
setKeyStoreURL(URL url)
Sets keystore URL |
| Methods inherited from class org.abstracthorizon.danube.service.server.MultiThreadServerSocketService |
|---|
create, createSocketConnection, destroy, destroyServerSocket, getNewSocketTimeout, getServerSocketTimeout, processConnection, processConnections, setNewSocketTimeout, setServerSocketTimeout |
| Methods inherited from class org.abstracthorizon.danube.service.server.MultiThreadServerService |
|---|
getActiveConnections, getExecutor, getGraceFinishPeriod, getNumberOfActiveConnections, run, setExecutor, setGraceFinishPeriod, start, stop |
| Methods inherited from class org.abstracthorizon.danube.service.server.ServerService |
|---|
getAddress, getConnectionHandler, getPort, getSocketAddress, setAddress, setConnectionHandler, setPort, setSocketAddress |
| Methods inherited from class org.abstracthorizon.danube.service.Service |
|---|
addListener, changeState, getName, getState, getStateName, removeListener, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String keystorePassword
protected URL keystoreURL
| Constructor Detail |
|---|
public MultiThreadServerSSLSocketService()
| Method Detail |
|---|
protected void createServerSocket()
throws ServiceException
createServerSocket in class MultiThreadServerSocketServiceServiceExceptionpublic void setKeyStorePassword(String passPhrase)
passPhrase - keystore passwordpublic String getKeyStorePassword()
public void setKeyStoreURL(URL url)
filename - keystore URLpublic URL getKeyStoreURL()
public void setKeyStoreFile(File file)
throws IOException
filename - keystore file
IOExceptionpublic File getKeyStoreFile()
protected InputStream getKeyStoreInputStream()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||