public class Payload<C,R> extends Object implements Serializable
public <T> T getAttachment(String key)
key - 关键字public <T> void setAttachment(String key, T value)
key - 关键字value - 值public boolean isRequest()
public void reply(R content)
content - 内容public String getGuid()
public String getTopic()
public C getContent()
Copyright © 2023. All rights reserved.