public class Request extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
Request |
copy() |
Request |
copyWithoutData() |
Object |
getData() |
long |
getId() |
String |
getVersion() |
boolean |
isBroken() |
boolean |
isEvent() |
boolean |
isHeartbeat() |
boolean |
isTwoWay() |
void |
setBroken(boolean mBroken) |
void |
setData(Object msg) |
void |
setEvent(boolean mEvent) |
void |
setEvent(String event) |
void |
setHeartbeat(boolean isHeartbeat) |
void |
setTwoWay(boolean twoWay) |
void |
setVersion(String version) |
String |
toString() |
public long getId()
public String getVersion()
public void setVersion(String version)
public boolean isTwoWay()
public void setTwoWay(boolean twoWay)
public boolean isEvent()
public void setEvent(String event)
public void setEvent(boolean mEvent)
public boolean isBroken()
public void setBroken(boolean mBroken)
public Object getData()
public void setData(Object msg)
public boolean isHeartbeat()
public void setHeartbeat(boolean isHeartbeat)
public Request copy()
public Request copyWithoutData()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.