| Constructor and Description |
|---|
Udp.Builder()
Create a new builder using the defaults:
|
Udp.Builder(Udp udp)
Copy constructor builder initialized from the passed in protocol.
|
| Modifier and Type | Method and Description |
|---|---|
Udp |
build()
Creates a new protocol instance from this builder.
|
Udp.Builder |
dstPort(TcpUdpPort dstPort)
Sets the destination port.
|
Udp.Builder |
srcPort(TcpUdpPort srcPort)
Sets the source port.
|
public Udp.Builder()
srcPort = null dstPort = null
public Udp.Builder(Udp udp)
udp - builder is initialed from this protocol's datapublic Udp build()
public Udp.Builder srcPort(TcpUdpPort srcPort)
srcPort - source portpublic Udp.Builder dstPort(TcpUdpPort dstPort)
dstPort - destination portCopyright © 2014. All Rights Reserved.