public static class AccessToken2.Service extends Object
限定符和类型 | 字段和说明 |
---|---|
TreeMap<Short,Integer> |
privileges |
short |
type |
限定符和类型 | 方法和说明 |
---|---|
void |
addPrivilegeChat(AccessToken2.PrivilegeChat privilege,
int expire) |
void |
addPrivilegeRtc(AccessToken2.PrivilegeRtc privilege,
int expire) |
void |
addPrivilegeRtm(AccessToken2.PrivilegeRtm privilege,
int expire) |
TreeMap<Short,Integer> |
getPrivileges() |
short |
getServiceType() |
ByteBuf |
pack(ByteBuf buf) |
void |
unpack(ByteBuf byteBuf) |
public void addPrivilegeRtc(AccessToken2.PrivilegeRtc privilege, int expire)
public void addPrivilegeRtm(AccessToken2.PrivilegeRtm privilege, int expire)
public void addPrivilegeChat(AccessToken2.PrivilegeChat privilege, int expire)
public short getServiceType()
public void unpack(ByteBuf byteBuf)
Copyright © 2024. All rights reserved.