Skip navigation links
A B C D E F G H I L N O P R S T V W 

A

addListener(StreamListener<RtpPacket>) - Method in class io.pkts.streams.impl.RtpStreamHandler
 
addListener(StreamListener<SipPacket>) - Method in class io.pkts.streams.impl.SipStreamHandler
 
addMessage(SipPacket) - Method in class io.pkts.streams.impl.BasicSipStream
 
addMessage(SipPacket) - Method in interface io.pkts.streams.SipStream
Add a SipPacket to this SipStream.
addStreamListener(StreamListener<? extends Packet>) - Method in class io.pkts.streams.impl.DefaultStreamHandler
To make life easier for the user we will figure out the type of StreamListener the user passed and based on that setup the correct stream analyzer etc.
addStreamListener(StreamListener<? extends Packet>) - Method in interface io.pkts.streams.StreamHandler
asString() - Method in class io.pkts.streams.impl.BufferStreamId
Convert this StreamId to a string.
asString() - Method in class io.pkts.streams.impl.LongStreamId
Convert this StreamId to a string.
asString() - Method in class io.pkts.streams.impl.StringStreamId
Convert this StreamId to a string.
asString() - Method in interface io.pkts.streams.StreamId
Convert this StreamId to a string.

B

BasicSipStream - Class in io.pkts.streams.impl
The BasicSipStream only does some very basic analysis of the SIP messages in order to determine which dialog the message belongs to.
BasicSipStream(PcapGlobalHeader, StreamId) - Constructor for class io.pkts.streams.impl.BasicSipStream
 
BufferStreamId - Class in io.pkts.streams.impl
 
BufferStreamId(Buffer) - Constructor for class io.pkts.streams.impl.BufferStreamId
 

C

compare(Packet, Packet) - Method in class io.pkts.streams.impl.PacketComparator
 
createEmptyClone() - Method in class io.pkts.streams.impl.BasicSipStream
 
createEmptyClone() - Method in interface io.pkts.streams.SipStream
Create an empty clone of this SipStream.

D

DefaultRtpStream - Class in io.pkts.streams.impl
 
DefaultRtpStream(PcapGlobalHeader, long) - Constructor for class io.pkts.streams.impl.DefaultRtpStream
 
DefaultStreamHandler - Class in io.pkts.streams.impl
A default StreamHandler that will try and figure out if the Frames it received belongs to a particular Stream and if so, it will parse the Frame into a Packet and add it to the corresponding Stream.
DefaultStreamHandler() - Constructor for class io.pkts.streams.impl.DefaultStreamHandler
 
dumpInfo() - Method in interface io.pkts.streams.SipStatistics
Dump all stats to std out.

E

endStream(Stream<T>) - Method in interface io.pkts.streams.StreamListener
Called when the Stream has ended.
equals(Object) - Method in class io.pkts.streams.impl.BufferStreamId
equals(Object) - Method in class io.pkts.streams.impl.LongStreamId
equals(Object) - Method in class io.pkts.streams.impl.StringStreamId

F

FragmentListener - Interface in io.pkts.streams
When an IPPacket is detected to to be fragemented, the corresponding IPFrame will be passed to this interface and it is up to this listener to defragment the IP-packet.

G

get200OkSDP() - Method in class io.pkts.streams.impl.BasicSipStream
 
get200OkSDP() - Method in interface io.pkts.streams.SipStream
Convenience method for returning the SDP found on the 200 OK to the first INVITE request.
getCallState() - Method in class io.pkts.streams.impl.BasicSipStream
 
getCallState() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
The current state of this state machine, same as getting the last element in SimpleCallStateMachine.getTransitions()
getCallState() - Method in interface io.pkts.streams.SipStream
Which SipStream.CallState the call is in.
getDuration() - Method in class io.pkts.streams.impl.BasicSipStream
The duration for a SipStream is calculated differently depending on what the stream is capturing.
getDuration() - Method in class io.pkts.streams.impl.DefaultRtpStream
Get the duration in microseconds of the stream.
getDuration() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
 
getDuration() - Method in interface io.pkts.streams.SipStream
The duration for a SipStream is calculated differently depending on what the stream is capturing.
getDuration() - Method in interface io.pkts.streams.Stream
Get the duration in microseconds of the stream.
getId() - Method in class io.pkts.streams.impl.LongStreamId
 
getInviteSDP() - Method in class io.pkts.streams.impl.BasicSipStream
 
getInviteSDP() - Method in interface io.pkts.streams.SipStream
Convenience method for returning the SDP found on the first INVITE request.
getLostPackets() - Method in class io.pkts.streams.impl.DefaultRtpStream
 
getLostPackets() - Method in interface io.pkts.streams.RtpStream
 
getMaxDelta() - Method in class io.pkts.streams.impl.DefaultRtpStream
 
getMaxDelta() - Method in interface io.pkts.streams.RtpStream
 
getMaxJitter() - Method in class io.pkts.streams.impl.DefaultRtpStream
 
getMaxJitter() - Method in interface io.pkts.streams.RtpStream
 
getMeanJitter() - Method in class io.pkts.streams.impl.DefaultRtpStream
 
getMeanJitter() - Method in interface io.pkts.streams.RtpStream
 
getMessages() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
Get all the messages that this fsm has seen so far.
getPackets() - Method in class io.pkts.streams.impl.BasicSipStream
Get all the SipPackets that belongs to this Stream.
getPackets() - Method in class io.pkts.streams.impl.DefaultRtpStream
Get all Packets that belongs to this stream.
getPackets() - Method in interface io.pkts.streams.SipStream
Get all the SipPackets that belongs to this Stream.
getPackets() - Method in interface io.pkts.streams.Stream
Get all Packets that belongs to this stream.
getPostDialDelay() - Method in class io.pkts.streams.impl.BasicSipStream
Post Dial Delay (PDD) is defined as the time it takes between the INVITE and until some sort of ringing signal is received (18x responses).
getPostDialDelay() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
 
getPostDialDelay() - Method in interface io.pkts.streams.SipStream
Post Dial Delay (PDD) is defined as the time it takes between the INVITE and until some sort of ringing signal is received (18x responses).
getSequenceErrors() - Method in class io.pkts.streams.impl.DefaultRtpStream
 
getSequenceErrors() - Method in interface io.pkts.streams.RtpStream
 
getSipStatistics() - Method in class io.pkts.streams.impl.DefaultStreamHandler
 
getSipStatistics() - Method in interface io.pkts.streams.StreamHandler
If there is a registered StreamListener for SipPackets then this StreamHandler will start processing SIP messages for which you can get all the statistics for through this method.
getStatistics() - Method in class io.pkts.streams.impl.SipStreamHandler
 
getStreamIdentifier() - Method in class io.pkts.streams.impl.BasicSipStream
Get the identifier used for grouping the SipPackets together.
getStreamIdentifier() - Method in class io.pkts.streams.impl.DefaultRtpStream
Get the unique StreamId for this particular Stream.
getStreamIdentifier() - Method in interface io.pkts.streams.SipStream
Get the identifier used for grouping the SipPackets together.
getStreamIdentifier() - Method in interface io.pkts.streams.Stream
Get the unique StreamId for this particular Stream.
getStreams() - Method in class io.pkts.streams.impl.DefaultStreamHandler
 
getStreams() - Method in class io.pkts.streams.impl.SipStreamHandler
 
getStreams() - Method in interface io.pkts.streams.StreamHandler
Through the StreamListener.startStream(Stream, Packet) and StreamListener.endStream(Stream) you will get notified when a stream starts and when it ends.
getTimeOfFirstMessage() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
The time of the very first message.
getTimeOfFirstPacket() - Method in class io.pkts.streams.impl.BasicSipStream
 
getTimeOfFirstPacket() - Method in class io.pkts.streams.impl.DefaultRtpStream
Get the arrival time of the very first packet in this stream.
getTimeOfFirstPacket() - Method in interface io.pkts.streams.Stream
Get the arrival time of the very first packet in this stream.
getTimeOfLastMessage() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
Get the time of the very last message that we have seen so far.
getTimeOfLastPacket() - Method in class io.pkts.streams.impl.BasicSipStream
 
getTimeOfLastPacket() - Method in class io.pkts.streams.impl.DefaultRtpStream
Get the arrival time of the last packet in this stream.
getTimeOfLastPacket() - Method in interface io.pkts.streams.Stream
Get the arrival time of the last packet in this stream.
getTransitions() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
Get a list of all the transitions this state machine took.

H

handleFragment(IPPacket) - Method in interface io.pkts.streams.FragmentListener
Whenever a fragmented IPFrame is detected, the registered FragmentListener will be consulted.
handshakeComplete() - Method in class io.pkts.streams.impl.BasicSipStream
 
handshakeComplete() - Method in interface io.pkts.streams.SipStream
Indicates whether the INVITE handshake was completed.
hashCode() - Method in class io.pkts.streams.impl.BufferStreamId
hashCode() - Method in class io.pkts.streams.impl.LongStreamId
hashCode() - Method in class io.pkts.streams.impl.StringStreamId

I

io.pkts.streams - package io.pkts.streams
 
io.pkts.streams.impl - package io.pkts.streams.impl
 
isHandshakeCompleted() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
 
isTerminated() - Method in class io.pkts.streams.impl.BasicSipStream
 
isTerminated() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
Check whether the state of this SimpleCallStateMachine is considered to be terminated.
isTerminated() - Method in interface io.pkts.streams.SipStream
Check whether this SipStream is in the terminated state, which it is if any of the following is true: For INVITE streams: If the initial handshake failed with an error response (which will include CANCEL scenarios) If the call was successfully established and a BYE request and the corresponding final response has been processed

L

LongStreamId - Class in io.pkts.streams.impl
 
LongStreamId(long) - Constructor for class io.pkts.streams.impl.LongStreamId
 

N

nextPacket(Packet) - Method in class io.pkts.streams.impl.DefaultStreamHandler

O

onEvent(SipPacket) - Method in class io.pkts.streams.impl.SimpleCallStateMachine
At some point we may want to have a generic event but for now this will only be SipPackets.
onPacket(RtpPacket) - Method in class io.pkts.streams.impl.DefaultRtpStream
 

P

PacketComparator - Class in io.pkts.streams.impl
Simple comparator of Packets that is just comparing time stamps.
PacketComparator() - Constructor for class io.pkts.streams.impl.PacketComparator
 
packetReceived(Stream<T>, T) - Method in interface io.pkts.streams.StreamListener
Called when a new Packet has been received.
processFrame(Packet) - Method in class io.pkts.streams.impl.RtpStreamHandler
 
processFrame(Packet) - Method in class io.pkts.streams.impl.SipStreamHandler
 

R

reTranmitsDetected() - Method in class io.pkts.streams.impl.BasicSipStream
 
reTranmitsDetected() - Method in interface io.pkts.streams.SipStream
Indicates whether there were retransmissions detected.
reTransmitsDetected() - Method in class io.pkts.streams.impl.SimpleCallStateMachine
 
RtpStream - Interface in io.pkts.streams
An RtpStream represents a stream of RtpPackets having the same SSRC (Synchronization source - see RFC3550).
RtpStreamHandler - Class in io.pkts.streams.impl
 
RtpStreamHandler(FramerManager) - Constructor for class io.pkts.streams.impl.RtpStreamHandler
 

S

save(String) - Method in class io.pkts.streams.impl.BasicSipStream
 
save(OutputStream) - Method in class io.pkts.streams.impl.BasicSipStream
 
save(String) - Method in interface io.pkts.streams.SipStream
Save this SipStream to the specified file.
save(OutputStream) - Method in interface io.pkts.streams.SipStream
Save this SipStream to the specified OutputStream.
setFragmentListener(FragmentListener) - Method in class io.pkts.streams.impl.DefaultStreamHandler
 
setFragmentListener(FragmentListener) - Method in interface io.pkts.streams.StreamHandler
SimpleCallStateMachine - Class in io.pkts.streams.impl
A "state machine" for SIP but really mainly for SIP VoIP calls.
SimpleCallStateMachine(String) - Constructor for class io.pkts.streams.impl.SimpleCallStateMachine
 
SipStatistics - Interface in io.pkts.streams
 
SipStream - Interface in io.pkts.streams
Represents a stream of related SIP messages.
SipStream.CallState - Enum in io.pkts.streams
Even though SIP can be used for so much more than just establishing "phone calls" (VoIP) it is commonly used for this very purpose.
SipStreamHandler - Class in io.pkts.streams.impl
 
SipStreamHandler(FramerManager) - Constructor for class io.pkts.streams.impl.SipStreamHandler
 
startStream(Stream<T>, T) - Method in interface io.pkts.streams.StreamListener
Called when a new Stream is detected.
Stream<T extends Packet> - Interface in io.pkts.streams
A Stream represents a set of Packets that belong together.
StreamHandler - Interface in io.pkts.streams
The StreamHandler is a higher-level PacketHandler that consumes streams and calls its registered StreamListeners.
StreamId - Interface in io.pkts.streams
 
StreamListener<T extends Packet> - Interface in io.pkts.streams
Whenever a new Packet that belongs to a particular Stream has been detected by the StreamHandler, it will call its registered StreamListeners.
StringStreamId - Class in io.pkts.streams.impl
A simple StreamId that simply wraps a String.
StringStreamId(String) - Constructor for class io.pkts.streams.impl.StringStreamId
 

T

toString() - Method in class io.pkts.streams.impl.BufferStreamId
 
toString() - Method in class io.pkts.streams.impl.StringStreamId
 
totalAckRequests() - Method in interface io.pkts.streams.SipStatistics
 
totalByeRequests() - Method in interface io.pkts.streams.SipStatistics
 
totalCancelRequests() - Method in interface io.pkts.streams.SipStatistics
 
totalInfoRequests() - Method in interface io.pkts.streams.SipStatistics
 
totalInviteRequests() - Method in interface io.pkts.streams.SipStatistics
The total number of SIP INVITE requests processed by the StreamHandler, which also includes the re-transmitted ones.
totalOptionsRequests() - Method in interface io.pkts.streams.SipStatistics
 
totalResponses() - Method in interface io.pkts.streams.SipStatistics
This will return an array with 600 elements, each index representing a particular response (but with an offset of negative 100).
totalSipMessages() - Method in interface io.pkts.streams.SipStatistics
The total number of SIP messages processed by the StreamHandler.

V

valueOf(String) - Static method in enum io.pkts.streams.SipStream.CallState
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.pkts.streams.SipStream.CallState
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(OutputStream) - Method in class io.pkts.streams.impl.BasicSipStream
 
write(OutputStream) - Method in class io.pkts.streams.impl.DefaultRtpStream
Write this Stream to the specified OutputStream.
write(OutputStream) - Method in interface io.pkts.streams.Stream
Write this Stream to the specified OutputStream.
A B C D E F G H I L N O P R S T V W 
Skip navigation links

Copyright © 2021. All Rights Reserved.