public class SessionIPv6 extends Session
Modifier and Type | Field and Description |
---|---|
protected Inet6Address |
destAddress |
protected int |
destPort |
protected int |
flags |
protected int |
protocolId |
bytes, classNum, cType, length
Constructor and Description |
---|
SessionIPv6() |
SessionIPv6(Inet6Address destAddress,
int protocolId,
int flags,
int destPort) |
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] bytes,
int offset) |
void |
encode()
Generic method to encode an RSVP element
|
void |
encodeHeader()
Common RSVP Objects Header encoding method
|
Inet6Address |
getDestAddress() |
int |
getDestPort() |
int |
getFlags() |
int |
getProtocolId() |
void |
setDestAddress(Inet6Address destAddress) |
void |
setDestPort(int destPort) |
void |
setFlags(int flags) |
void |
setProtocolId(int protocolId) |
decodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLength
protected Inet6Address destAddress
protected int protocolId
protected int flags
protected int destPort
public SessionIPv6()
public SessionIPv6(Inet6Address destAddress, int protocolId, int flags, int destPort)
destAddress
- protocolId
- flags
- destPort
- public void encodeHeader()
RSVPObject
encodeHeader
in class RSVPObject
public void encode()
RSVPElement
encode
in interface RSVPElement
encode
in class RSVPObject
public void decode(byte[] bytes, int offset)
decode
in class RSVPObject
public Inet6Address getDestAddress()
public void setDestAddress(Inet6Address destAddress)
public int getProtocolId()
public void setProtocolId(int protocolId)
public int getFlags()
public void setFlags(int flags)
public int getDestPort()
public void setDestPort(int destPort)
Copyright © 2016. All rights reserved.