public class SessionLSPTunnelIPv4 extends Session
| Modifier and Type | Field and Description |
|---|---|
protected Inet4Address |
egressNodeAddress |
protected Inet4Address |
extendedTunnelId |
protected long |
tunnelId |
bytes, classNum, cType, length| Constructor and Description |
|---|
SessionLSPTunnelIPv4(byte[] bytes,
int offset)
Constructor to be used when a new Session LSP Tunnel IPv4 Object wanted to be decoded from a received
message.
|
SessionLSPTunnelIPv4(Inet4Address egressNodeAddress,
long tunnelId,
Inet4Address extendedTunnelId)
Constructor to be used when a new Session LSP Tunnel IPv4 Object wanted to be
attached to a new message
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(byte[] bytes,
int offset) |
void |
encode()
Generic method to encode an RSVP element
|
Inet4Address |
getEgressNodeAddress() |
Inet4Address |
getExtendedTunnelId() |
long |
getTunnelId() |
void |
setEgressNodeAddress(Inet4Address egressNodeAddress) |
void |
setExtendedTunnelId(Inet4Address extendedTunnelId) |
void |
setTunnelId(long tunnelId) |
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLengthprotected Inet4Address egressNodeAddress
protected long tunnelId
protected Inet4Address extendedTunnelId
public SessionLSPTunnelIPv4(Inet4Address egressNodeAddress, long tunnelId, Inet4Address extendedTunnelId)
egressNodeAddress - extendedTunnelId - public SessionLSPTunnelIPv4(byte[] bytes,
int offset)
bytes - offset - public void encode()
RSVPElementencode in interface RSVPElementencode in class RSVPObjectpublic void decode(byte[] bytes,
int offset)
decode in class RSVPObjectpublic Inet4Address getEgressNodeAddress()
public void setEgressNodeAddress(Inet4Address egressNodeAddress)
public long getTunnelId()
public void setTunnelId(long tunnelId)
public Inet4Address getExtendedTunnelId()
public void setExtendedTunnelId(Inet4Address extendedTunnelId)
Copyright © 2016. All rights reserved.