public class RcfProtoServer
extends java.lang.Object
Constructor and Description |
---|
RcfProtoServer() |
RcfProtoServer(Endpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
ServerTransport |
addEndpoint(Endpoint endpoint)
Adds a transport endpoint to the server.
|
void |
bindService(com.google.protobuf.Service svc) |
void |
delete() |
protected void |
finalize() |
Certificate |
getCaCertificate()
Gets the SSL certificate authority of the server.
|
Certificate |
getCertificate()
Gets the SSL certificate of the server.
|
java.lang.String |
getEnableSchannelCertificateValidation()
Gets the Schannel certificate validation setting.
|
java.lang.String |
getOpenSslCipherSuite()
Gets the OpenSSL cipher suite.
|
long |
getSessionHarvestingIntervalMs()
Returns the session harvesting interval, in milliseconds.
|
long |
getSessionTimeoutMs()
Returns the session timeout value, in milliseconds.
|
SslImplementation |
getSslImplementation()
Gets the SSL implementation of the server.
|
TransportProtocolList |
getSupportedTransportProtocols()
Returns the list of supported protocols for the server.
|
ThreadPool |
getThreadPool()
Returns the thread pool the server is using.
|
void |
setCaCertificate(Certificate certificatePtr)
Sets the SSL certificate authority of the server.
|
void |
setCertificate(Certificate certificatePtr)
Sets the SSL certificate of the server.
|
void |
setEnableSchannelCertificateValidation(java.lang.String peerName)
Sets the Schannel certificate validation setting.
|
void |
setOpenSslCipherSuite(java.lang.String cipherSuite)
Sets the OpenSSL cipher suite.
|
void |
setSessionHarvestingIntervalMs(long sessionHarvestingIntervalMs)
Sets the session harvesting interval, in milliseconds.
|
void |
setSessionTimeoutMs(long sessionTimeoutMs)
Sets the session timeout value, in milliseconds.
|
void |
setSslImplementation(SslImplementation sslImplementation) |
void |
setSupportedTransportProtocols(TransportProtocolList protocols)
Sets the list of supported protocols the server supports.
|
void |
setThreadPool(ThreadPool threadPoolPtr)
Sets the thread pool the server will use.
|
void |
start()
Starts the RCFProto server.
|
void |
stop()
Stops the RCFProto server.
|
public RcfProtoServer()
public RcfProtoServer(Endpoint endpoint)
public void bindService(com.google.protobuf.Service svc)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void start()
public void stop()
public void setThreadPool(ThreadPool threadPoolPtr)
public ThreadPool getThreadPool()
public ServerTransport addEndpoint(Endpoint endpoint)
public void setSupportedTransportProtocols(TransportProtocolList protocols)
public TransportProtocolList getSupportedTransportProtocols()
public void setSessionTimeoutMs(long sessionTimeoutMs)
public long getSessionTimeoutMs()
public void setSessionHarvestingIntervalMs(long sessionHarvestingIntervalMs)
public long getSessionHarvestingIntervalMs()
public void setCertificate(Certificate certificatePtr)
public Certificate getCertificate()
public void setOpenSslCipherSuite(java.lang.String cipherSuite)
public java.lang.String getOpenSslCipherSuite()
public void setCaCertificate(Certificate certificatePtr)
public Certificate getCaCertificate()
public void setEnableSchannelCertificateValidation(java.lang.String peerName)
public java.lang.String getEnableSchannelCertificateValidation()
public void setSslImplementation(SslImplementation sslImplementation)
public SslImplementation getSslImplementation()