public class SkypeActivityHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SkypeActivityHelper.SkypeUdpType
Several known Skype payload types including their flag value,
based on the OpenSkype project, see https://github.com/matthiasbock/OpenSkype
|
Constructor and Description |
---|
SkypeActivityHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasSkypePayload(org.jnetpcap.protocol.tcpip.Udp udp)
Calls
hasSkypeType(org.jnetpcap.protocol.tcpip.Udp, at.jku.fim.rubanetra.protocol.activity.skype.SkypeActivityHelper.SkypeUdpType)
with the PAYLOAD flag internally (convenience method). |
static boolean |
hasSkypeType(org.jnetpcap.protocol.tcpip.Udp udp,
SkypeActivityHelper.SkypeUdpType type)
Tries to determine whether or not the provided UDP packet contains data that corresponds to some known
Skype flags.
|
static int |
objectId(org.jnetpcap.protocol.tcpip.Udp udp)
Returns the Skype object ID, however, since the object ID could be arbitrary this method
does not check whether the payload corresponds to Skype traffic.
|
public static int objectId(org.jnetpcap.protocol.tcpip.Udp udp)
udp
- the JNetPcap UDP packet representationhasSkypePayload(org.jnetpcap.protocol.tcpip.Udp)
public static boolean hasSkypePayload(org.jnetpcap.protocol.tcpip.Udp udp)
hasSkypeType(org.jnetpcap.protocol.tcpip.Udp, at.jku.fim.rubanetra.protocol.activity.skype.SkypeActivityHelper.SkypeUdpType)
with the PAYLOAD flag internally (convenience method).udp
- the JNetPcap UDP packet representationpublic static boolean hasSkypeType(org.jnetpcap.protocol.tcpip.Udp udp, SkypeActivityHelper.SkypeUdpType type)
udp
- the JNetPcap UDP packet representationtype
- the type of the data to check againstCopyright © 2013–2015 Institute of networks and security. All rights reserved.