Package io.antmedia.datastore.db.types
Class Token
java.lang.Object
io.antmedia.datastore.db.types.Token
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.bson.types.ObjectId
The db id of the token.private long
The expiration date of the token.static final String
static final String
private String
The id of the conference room which requested streams belong to.private String
The stream id associated with the token.private String
The token id.private String
The type of the token, such as publish, play, etc. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getType()
void
setExpireDate
(long expireDate) void
void
setStreamId
(String streamId) void
setTokenId
(String tokenId) void
-
Field Details
-
PUBLISH_TOKEN
- See Also:
-
PLAY_TOKEN
- See Also:
-
dbId
@Id private org.bson.types.ObjectId dbIdThe db id of the token. -
tokenId
The token id. -
streamId
The stream id associated with the token. -
expireDate
private long expireDateThe expiration date of the token. -
type
The type of the token, such as publish, play, etc. -
roomId
The id of the conference room which requested streams belong to.
-
-
Constructor Details
-
Token
public Token()
-
-
Method Details
-
getRoomId
-
setRoomId
-
getType
-
setType
-
getTokenId
-
setTokenId
-
getStreamId
-
setStreamId
-
getExpireDate
public long getExpireDate() -
setExpireDate
public void setExpireDate(long expireDate)
-