CloseMessage Class

public final class CloseMessage extends HubMessage

Constructor Summary

Constructor Description
CloseMessage()
CloseMessage(boolean allowReconnect)
CloseMessage(String error)
CloseMessage(String error, boolean allowReconnect)

Method Summary

Modifier and Type Method and Description
boolean getAllowReconnect()
java.lang.String getError()
HubMessageType getMessageType()

Inherited Members

HubMessage.getMessageType() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

CloseMessage

public CloseMessage()

CloseMessage

public CloseMessage(boolean allowReconnect)

Parameters:

allowReconnect

CloseMessage

public CloseMessage(String error)

Parameters:

error

CloseMessage

public CloseMessage(String error, boolean allowReconnect)

Parameters:

error
allowReconnect

Method Details

getAllowReconnect

public boolean getAllowReconnect()

getError

public String getError()

getMessageType

public HubMessageType getMessageType()

Overrides:

CloseMessage.getMessageType()

Applies to