io.pkts.packet.TransportPacket Maven / Gradle / Ivy
/**
*
*/
package io.pkts.packet;
/**
* Represents a Transport packet (Layer 4 in the OSI)
*
* @author [email protected]
*
*/
public interface TransportPacket extends IPPacket, Cloneable {
int getSourcePort();
void setSourcePort(int port);
int getDestinationPort();
void setDestinationPort(int port);
boolean isUDP();
boolean isTCP();
@Override
TransportPacket clone();
}