public interface Layer4PortHeader extends Layer4Header
Layer4PortHeader describes the contents of layer 4 protocol header
which identifies the service using 16-bit port number.| Modifier and Type | Method and Description |
|---|---|
int |
getDestinationPort()
Return the destination port number.
|
int |
getSourcePort()
Return the source port number.
|
void |
setDestinationPort(int port)
Set the destination port number.
|
void |
setSourcePort(int port)
Set the source port number.
|
setDescriptionint getSourcePort()
void setSourcePort(int port)
port - An integer value which represents the source port number.int getDestinationPort()
void setDestinationPort(int port)
port - An integer value which represents the destination port
number.Copyright © 2018 OpenDaylight. All rights reserved.