Package jenkins.websocket
Class WebSocketSession
java.lang.Object
jenkins.websocket.WebSocketSession
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public abstract class WebSocketSession
extends Object
One WebSocket connection.
- Since:
- 2.216
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
binary
(byte[] payload, int offset, int len) protected final void
close()
protected void
protected void
protected void
opened()
sendBinary
(ByteBuffer data) protected final void
sendBinary
(ByteBuffer partialByte, boolean isLast) protected void
-
Constructor Details
-
WebSocketSession
protected WebSocketSession()
-
-
Method Details
-
opened
protected void opened() -
closed
-
error
-
binary
- Throws:
IOException
-
text
- Throws:
IOException
-
sendBinary
- Throws:
IOException
-
sendBinary
- Throws:
IOException
-
sendText
- Throws:
IOException
-
close
- Throws:
IOException
-