CloseMessage 类

public final class CloseMessage extends HubMessage

构造函数摘要

构造函数 说明
CloseMessage()
CloseMessage(boolean allowReconnect)
CloseMessage(String error)
CloseMessage(String error, boolean allowReconnect)

方法摘要

修饰符和类型 方法和描述
boolean getAllowReconnect()
java.lang.String getError()
HubMessageType getMessageType()

继承成员

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)

构造函数详细信息

CloseMessage

public CloseMessage()

CloseMessage

public CloseMessage(boolean allowReconnect)

参数:

allowReconnect

CloseMessage

public CloseMessage(String error)

参数:

error

CloseMessage

public CloseMessage(String error, boolean allowReconnect)

参数:

error
allowReconnect

方法详细信息

getAllowReconnect

public boolean getAllowReconnect()

getError

public String getError()

getMessageType

public HubMessageType getMessageType()

替代:

CloseMessage.getMessageType()

适用于