Home
last modified time | relevance | path

Searched refs:closeReason (Results 1 – 7 of 7) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DWsIOException.java32 private final CloseReason closeReason; field in WsIOException
34 public WsIOException(CloseReason closeReason) { in WsIOException() argument
35 this.closeReason = closeReason; in WsIOException()
39 return closeReason; in getCloseReason()
H A DWsSession.java472 doClose(closeReason, closeReason); in close()
527 public void onClose(CloseReason closeReason) { in onClose() argument
539 sendCloseMessage(closeReason); in onClose()
540 fireEndpointOnClose(closeReason); in onClose()
587 localEndpoint.onClose(this, closeReason); in fireEndpointOnClose()
628 CloseCode closeCode = closeReason.getCloseCode(); in sendCloseMessage()
637 String reason = closeReason.getReasonPhrase(); in sendCloseMessage()
861 CloseReason closeReason; in processFrame() local
866 closeReason = new CloseReason( in processFrame()
870 closeReason = new CloseReason( in processFrame()
[all …]
/unit/src/nodejs/unit-http/
H A Dwebsocket_server.js193 connection.once('close', function(closeReason, description) { argument
194 self.handleConnectionClose(connection, closeReason, description);
200 WebSocketServer.prototype.handleConnectionClose = function(connection, closeReason, description) { argument
205 this.emit('close', connection, closeReason, description);
/unit/src/java/javax/websocket/
H A DEndpoint.java36 public void onClose(Session session, CloseReason closeReason) { in onClose() argument
H A DSession.java135 void close(CloseReason closeReason) throws IOException; in close() argument
/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoEndpointBase.java99 public final void onClose(Session session, CloseReason closeReason) { in onClose() argument
104 methodMapping.getOnCloseArgs(pathParameters, session, closeReason)); in onClose()
H A DPojoMethodMapping.java241 Session session, CloseReason closeReason) throws DecodeException { in getOnCloseArgs() argument
243 closeReason); in getOnCloseArgs()
337 EndpointConfig config, Throwable throwable, CloseReason closeReason) in buildArgs() argument
349 result[i] = closeReason; in buildArgs()