public class GetMessagesDynamicallyParam
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
static int |
MAX_LIMIT
最大数量限制
|
构造器和说明 |
---|
GetMessagesDynamicallyParam(java.lang.String sessionId,
SessionTypeEnum sessionType) |
GetMessagesDynamicallyParam(java.lang.String sessionId,
SessionTypeEnum sessionType,
long fromTime,
long toTime,
long anchorServerId,
java.lang.String anchorClientId,
int limit,
GetMessageDirectionEnum direction) |
限定符和类型 | 方法和说明 |
---|---|
GetMessagesDynamicallyParam |
createStandardizedParam() |
IMMessage |
getAnchor()
可能会查询数据库
|
java.lang.String |
getAnchorClientId() |
long |
getAnchorServerId() |
GetMessageDirectionEnum |
getDirection() |
long |
getFromTime() |
int |
getLimit() |
java.lang.String |
getSessionId() |
SessionTypeEnum |
getSessionType() |
long |
getToTime() |
boolean |
isValid()
参数合法的初阶判断函数
|
void |
setAnchorClientId(java.lang.String anchorClientId) |
void |
setAnchorServerId(long anchorServerId) |
void |
setDirection(GetMessageDirectionEnum direction) |
void |
setFromTime(long fromTime) |
void |
setLimit(int limit) |
void |
setToTime(long toTime) |
java.lang.String |
toString() |
public static final int MAX_LIMIT
public GetMessagesDynamicallyParam(java.lang.String sessionId, SessionTypeEnum sessionType)
public GetMessagesDynamicallyParam(java.lang.String sessionId, SessionTypeEnum sessionType, long fromTime, long toTime, long anchorServerId, java.lang.String anchorClientId, int limit, GetMessageDirectionEnum direction)
public java.lang.String getSessionId()
public SessionTypeEnum getSessionType()
public long getFromTime()
public void setFromTime(long fromTime)
public long getToTime()
public void setToTime(long toTime)
public long getAnchorServerId()
public void setAnchorServerId(long anchorServerId)
public java.lang.String getAnchorClientId()
public void setAnchorClientId(java.lang.String anchorClientId)
public int getLimit()
public void setLimit(int limit)
public GetMessageDirectionEnum getDirection()
public void setDirection(GetMessageDirectionEnum direction)
public IMMessage getAnchor()
public GetMessagesDynamicallyParam createStandardizedParam()
public boolean isValid()
public java.lang.String toString()
toString
在类中 java.lang.Object