/ fm / liveswitch / LogContext
Class: LogContext
fm.liveswitch.LogContext
LogContext structure to hold ambient properties that can be attached to log events.
Table of contents
Constructors
Methods
- clone
- getApplicationId
- getBundleTransportId
- getCandidateId
- getCandidatePairId
- getChannelId
- getClientId
- getClusterConnectionId
- getConnectionId
- getDeviceId
- getExternalConnectionId
- getGatewayId
- getGathererId
- getIceTransportId
- getMediaDescriptionManagerId
- getMediaServerId
- getRtpPacketId
- getRtpReceiverId
- getRtpSenderId
- getRtpTransportId
- getSctpTrasnportId
- getSiteId
- getSocketManagerId
- getStreamId
- getTypeString
- getUserId
- getWebSocketMediaServerId
- setApplicationId
- setBundleTransportId
- setCandidateId
- setCandidatePairId
- setChannelId
- setClientId
- setClusterConnectionId
- setConnectionId
- setDeviceId
- setExternalConnectionId
- setGatewayId
- setGathererId
- setIceTransportId
- setMediaDescriptionManagerId
- setMediaServerId
- setRtpPacketId
- setRtpReceiverId
- setRtpSenderId
- setRtpTransportId
- setSctpTrasnportId
- setSiteId
- setSocketManagerId
- setStreamId
- setUserId
- setWebSocketMediaServerId
- toPairArray
- fromJson
Constructors
constructor
+ new LogContext(): LogContext
Returns: LogContext
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:111
Methods
clone
▸ clone(): LogContext
Clones this object, creating a new instance with the same property values.
Returns: LogContext
A new LogContext instance with the same properties as this instance.
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:241
getApplicationId
▸ getApplicationId(): string
Gets the application Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:279
getBundleTransportId
▸ getBundleTransportId(): string
Gets the bundle transport Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:291
getCandidateId
▸ getCandidateId(): string
Gets the candidate Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:303
getCandidatePairId
▸ getCandidatePairId(): string
Gets the candidate pair Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:315
getChannelId
▸ getChannelId(): string
Gets the channel Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:327
getClientId
▸ getClientId(): string
Gets the client Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:339
getClusterConnectionId
▸ getClusterConnectionId(): string
Gets cluster connection Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:351
getConnectionId
▸ getConnectionId(): string
Gets the connection Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:363
getDeviceId
▸ getDeviceId(): string
Gets the device Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:375
getExternalConnectionId
▸ getExternalConnectionId(): string
Gets the external connection Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:387
getGatewayId
▸ getGatewayId(): string
Gets the gateway Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:399
getGathererId
▸ getGathererId(): string
Gets the gatherer Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:411
getIceTransportId
▸ getIceTransportId(): string
Gets the Ice transport Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:423
getMediaDescriptionManagerId
▸ getMediaDescriptionManagerId(): string
Gets the media description manager Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:435
getMediaServerId
▸ getMediaServerId(): string
Gets the media server Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:447
getRtpPacketId
▸ getRtpPacketId(): string
Gets RTP packet Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:459
getRtpReceiverId
▸ getRtpReceiverId(): string
Gets RTP Receiver Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:471
getRtpSenderId
▸ getRtpSenderId(): string
Gets RTP Sender Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:483
getRtpTransportId
▸ getRtpTransportId(): string
Gets RTP Transport Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:495
getSctpTrasnportId
▸ getSctpTrasnportId(): string
Gets the Sctp transport Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:507
getSiteId
▸ getSiteId(): string
Gets the site Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:519
getSocketManagerId
▸ getSocketManagerId(): string
Gets the socket manager Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:531
getStreamId
▸ getStreamId(): string
Gets the stream Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:543
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:9
getUserId
▸ getUserId(): string
Gets the user Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:555
getWebSocketMediaServerId
▸ getWebSocketMediaServerId(): string
Gets the websocket media server Id.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:567
setApplicationId
▸ setApplicationId(value
: string): void
Sets the application Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:579
setBundleTransportId
▸ setBundleTransportId(value
: string): void
Sets the bundle transport Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:591
setCandidateId
▸ setCandidateId(value
: string): void
Sets the candidate Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:603
setCandidatePairId
▸ setCandidatePairId(value
: string): void
Sets the candidate pair Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:615
setChannelId
▸ setChannelId(value
: string): void
Sets the channel Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:627
setClientId
▸ setClientId(value
: string): void
Sets the client Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:639
setClusterConnectionId
▸ setClusterConnectionId(value
: string): void
Sets cluster connection Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:651
setConnectionId
▸ setConnectionId(value
: string): void
Sets the connection Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:663
setDeviceId
▸ setDeviceId(value
: string): void
Sets the device Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:675
setExternalConnectionId
▸ setExternalConnectionId(value
: string): void
Sets the external connection Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:687
setGatewayId
▸ setGatewayId(value
: string): void
Sets the gateway Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:699
setGathererId
▸ setGathererId(value
: string): void
Sets the gatherer Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:711
setIceTransportId
▸ setIceTransportId(value
: string): void
Sets the Ice transport Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:723
setMediaDescriptionManagerId
▸ setMediaDescriptionManagerId(value
: string): void
Sets the media description manager Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:735
setMediaServerId
▸ setMediaServerId(value
: string): void
Sets the media server Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:747
setRtpPacketId
▸ setRtpPacketId(value
: string): void
Sets RTP packet Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:759
setRtpReceiverId
▸ setRtpReceiverId(value
: string): void
Sets RTP Receiver Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:771
setRtpSenderId
▸ setRtpSenderId(value
: string): void
Sets RTP Sender Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:783
setRtpTransportId
▸ setRtpTransportId(value
: string): void
Sets RTP Transport Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:795
setSctpTrasnportId
▸ setSctpTrasnportId(value
: string): void
Sets the Sctp transport Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:807
setSiteId
▸ setSiteId(value
: string): void
Sets the site Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:819
setSocketManagerId
▸ setSocketManagerId(value
: string): void
Sets the socket manager Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:831
setStreamId
▸ setStreamId(value
: string): void
Sets the stream Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:843
setUserId
▸ setUserId(value
: string): void
Sets the user Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:855
setWebSocketMediaServerId
▸ setWebSocketMediaServerId(value
: string): void
Sets the websocket media server Id.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:867
toPairArray
▸ toPairArray(): string[][]
Returns a paired array rerpresentation of this log context.
Returns: string[][]
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:879
fromJson
▸ Static
fromJson(valueJson
: string): LogContext
Deserializes json into a LogContext object.
Parameters:
Name | Type | Description |
---|---|---|
valueJson |
string | Value to deserialize |
Returns: LogContext
Logcontext
Defined in: Generated/TypeScript/fm.liveswitch/LogContext.ts:132