public final class CloseStreamExceptionally extends Object implements StreamControlMessage
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getConnectionCorrelationId()
Returns the correlation ID of the WebSocket connection to be closed.
|
static CloseStreamExceptionally |
getInstance(org.eclipse.ditto.model.base.exceptions.DittoRuntimeException reason,
CharSequence connectionCorrelationId)
Returns an instance of
CloseWebSocket. |
org.eclipse.ditto.model.base.exceptions.DittoRuntimeException |
getReason()
Returns the reason for closing the WebSocket.
|
int |
hashCode() |
String |
toString() |
public static CloseStreamExceptionally getInstance(org.eclipse.ditto.model.base.exceptions.DittoRuntimeException reason, CharSequence connectionCorrelationId)
CloseWebSocket.reason - the reason for closing the WebSocket.connectionCorrelationId - the correlation ID of the WebSocket connection to be closed.NullPointerException - if any argument is null.IllegalArgumentException - if any argument is empty.public org.eclipse.ditto.model.base.exceptions.DittoRuntimeException getReason()
public String getConnectionCorrelationId()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.