public class Request extends Object
| Modifier and Type | Method and Description |
|---|---|
Request |
copy() |
Request |
copyWithoutData() |
Object |
getData() |
long |
getId() |
int |
getPayload() |
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 |
setPayload(int mPayload) |
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 int getPayload()
public void setPayload(int mPayload)
public Object getData()
public void setData(Object msg)
public boolean isHeartbeat()
public void setHeartbeat(boolean isHeartbeat)
public Request copy()
public Request copyWithoutData()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.