Package org.jenkinsci.remoting.engine
Class Jnlp4ConnectionState
java.lang.Object
org.jenkinsci.remoting.engine.JnlpConnectionState
org.jenkinsci.remoting.engine.Jnlp4ConnectionState
Represents the connection state for a
JnlpProtocol4Handler
connection.- Since:
- 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.remoting.engine.JnlpConnectionState
JnlpConnectionState.ListenerState
-
Field Summary
Fields inherited from class org.jenkinsci.remoting.engine.JnlpConnectionState
CLIENT_NAME_KEY, COOKIE_KEY, SECRET_KEY
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jnlp4ConnectionState
(Socket socket, List<? extends JnlpConnectionStateListener> listeners) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the client certificate (if available).Methods inherited from class org.jenkinsci.remoting.engine.JnlpConnectionState
approve, fireAfterChannel, fireAfterDisconnect, fireAfterProperties, fireBeforeChannel, fireBeforeProperties, fireChannelClosed, getChannel, getChannelBuilder, getCloseCause, getProperties, getProperty, getRemoteEndpointDescription, getSocket, getStash, ignore, reject, setRemoteEndpointDescription, setStash
-
Constructor Details
-
Jnlp4ConnectionState
protected Jnlp4ConnectionState(@NonNull Socket socket, List<? extends JnlpConnectionStateListener> listeners) Constructor.- Parameters:
socket
- theSocket
.listeners
- theJnlpConnectionStateListener
instances.
-
-
Method Details
-
getCertificate
Gets the client certificate (if available).- Returns:
- the client certificate (if available).
-