public class RTCDataChannelStats extends RTCStats
Modifier | Constructor and Description |
---|---|
protected |
RTCDataChannelStats()
Default private constructor of RTCDataChannelStats for serialization with Jackson
|
|
RTCDataChannelStats(String id,
StatsType type,
double timestamp,
long timestampMillis,
String label,
String protocol,
long datachannelid,
RTCDataChannelState state,
long messagesSent,
long bytesSent,
long messagesReceived,
long bytesReceived)
Create a RTCDataChannelStats
|
Modifier and Type | Method and Description |
---|---|
long |
getBytesReceived()
get Represents the total number of bytes received on this RTCDatachannel, i.e., not including headers or padding.
|
long |
getBytesSent()
get Represents the total number of payload bytes sent on this RTCDatachannel, i.e., not including headers or padding.
|
long |
getDatachannelid()
get The RTCDatachannel identifier.
|
String |
getLabel()
get The RTCDatachannel label.
|
long |
getMessagesReceived()
get Represents the total number of API 'message' events received.
|
long |
getMessagesSent()
get Represents the total number of API 'message' events sent.
|
String |
getProtocol()
get The protocol used.
|
RTCDataChannelState |
getState()
get The state of the RTCDatachannel.
|
void |
setBytesReceived(long bytesReceived)
set Represents the total number of bytes received on this RTCDatachannel, i.e., not including headers or padding.
|
void |
setBytesSent(long bytesSent)
set Represents the total number of payload bytes sent on this RTCDatachannel, i.e., not including headers or padding.
|
void |
setDatachannelid(long datachannelid)
set The RTCDatachannel identifier.
|
void |
setLabel(String label)
set The RTCDatachannel label.
|
void |
setMessagesReceived(long messagesReceived)
set Represents the total number of API 'message' events received.
|
void |
setMessagesSent(long messagesSent)
set Represents the total number of API 'message' events sent.
|
void |
setProtocol(String protocol)
set The protocol used.
|
void |
setState(RTCDataChannelState state)
set The state of the RTCDatachannel.
|
getId, getTimestamp, getTimestampMillis, getType, setId, setTimestamp, setTimestampMillis, setType
protected RTCDataChannelStats()
public RTCDataChannelStats(String id, StatsType type, double timestamp, long timestampMillis, String label, String protocol, long datachannelid, RTCDataChannelState state, long messagesSent, long bytesSent, long messagesReceived, long bytesReceived)
public String getLabel()
public void setLabel(String label)
public String getProtocol()
public void setProtocol(String protocol)
public long getDatachannelid()
public void setDatachannelid(long datachannelid)
public RTCDataChannelState getState()
public void setState(RTCDataChannelState state)
public long getMessagesSent()
public void setMessagesSent(long messagesSent)
public long getBytesSent()
public void setBytesSent(long bytesSent)
public long getMessagesReceived()
public void setMessagesReceived(long messagesReceived)
public long getBytesReceived()
public void setBytesReceived(long bytesReceived)
Copyright © 2022 Kurento. All rights reserved.