public interface NetsenseDart extends io.apisense.dart.api.Dart<NetsenseData>
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
identifier of the sting to be used as require('netsense').
|
| Modifier and Type | Method and Description |
|---|---|
void |
exportPcap()
Export the traffic in a pcap file ready to be uploaded
|
DnsAnswerData |
getDnsAnswerData()
Return information about the DNS monitored Answers
|
HttpData |
getHttpData()
Return information about the HTTP monitored traffic
|
HttpsData |
getHttpsData()
Return information about the HTTPS monitored traffic
|
OtherTcpData |
getOtherTcpData()
Return information about the Other TCP monitored traffic
|
OtherUdpData |
getOtherUdpData()
Return information about the Other UDP monitored traffic
|
QuicData |
getQuicData()
Return information about the QUIC monitored traffic
|
io.apisense.dart.api.Token |
onDnsPacket(Object callback)
Execute the callback when the netsense dart detects a dnsPacket.
|
io.apisense.dart.api.Token |
onInPacket(Object callback)
Execute the callback when the netsense dart detects a inPacket.
|
io.apisense.dart.api.Token |
onOutPacket(Object callback)
Execute the callback when the netsense dart detects a outPacket.
|
io.apisense.dart.api.Token |
onPacket(Object callback)
Execute the callback when the netsense dart detects a packet.
|
void |
resetPcap()
Reset the traffic in a pcap file
|
void |
statsMonitor()
Start the internal protocol stats monitoring.
|
void |
statsMonitor(List<String> protocols)
Start the internal protocol stats monitoring with protocols.
|
static final String NAME
io.apisense.dart.api.Token onPacket(Object callback)
callback - The action to process when done.io.apisense.dart.api.Token onInPacket(Object callback)
callback - The action to process when done.io.apisense.dart.api.Token onOutPacket(Object callback)
callback - The action to process when done.io.apisense.dart.api.Token onDnsPacket(Object callback)
callback - The action to process when done.void statsMonitor(List<String> protocols)
protocols - Array containing the list of protocols to monitorvoid statsMonitor()
HttpData getHttpData()
HttpsData getHttpsData()
QuicData getQuicData()
OtherTcpData getOtherTcpData()
OtherUdpData getOtherUdpData()
DnsAnswerData getDnsAnswerData()
void exportPcap()
void resetPcap()