CloseMessage 類別
- java.
lang. Object - com.
microsoft. signalr. HubMessage - com.
microsoft. signalr. CloseMessage
- com.
- com.
public final class CloseMessage extends HubMessage
建構函式摘要
建構函式 | Description | |
---|---|---|
CloseMessage() | ||
CloseMessage(boolean allowReconnect) | ||
CloseMessage(String error) | ||
CloseMessage(String error, boolean allowReconnect) |
方法摘要
修飾詞與類型 | 方法與描述 |
---|---|
boolean | getAllowReconnect() |
java.lang.String | getError() |
Hub |
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()