public class EndPointDataPathID extends EndPoints
Ibit, log, object_bytes, ObjectClass, ObjectLength, OT, Pbit, Res
Constructor and Description |
---|
EndPointDataPathID() |
EndPointDataPathID(byte[] bytes,
int offset) |
Modifier and Type | Method and Description |
---|---|
void |
decode()
Decode the object.
|
void |
encode()
Encode the object.
|
boolean |
equals(Object obj) |
DataPathID |
getDestSwitchID() |
DataPathID |
getSourceSwitchID() |
int |
hashCode() |
void |
setDestSwitchID(DataPathID destSwitchID) |
void |
setSourceSwitchID(DataPathID sourceSwitchID) |
decode, decodeHeader, encode_header, getBytes, getLength, getObject_bytes, getObjectClass, getObjectClass, getObjectLength, getObjectType, getOT, getRes, isIbit, isPbit, setIbit, setObject_bytes, setObjectClass, setObjectLength, setOT, setPbit, setRes, supportedObject
public EndPointDataPathID()
public EndPointDataPathID(byte[] bytes, int offset) throws MalformedPCEPObjectException, PCEPProtocolViolationException
public void encode()
PCEPObject
encode
in interface PCEPElement
encode
in class PCEPObject
public void decode() throws MalformedPCEPObjectException
PCEPObject
decode
in class PCEPObject
MalformedPCEPObjectException
public DataPathID getSourceSwitchID()
public void setSourceSwitchID(DataPathID sourceSwitchID)
public DataPathID getDestSwitchID()
public void setDestSwitchID(DataPathID destSwitchID)
public int hashCode()
hashCode
in class PCEPObject
public boolean equals(Object obj)
equals
in class PCEPObject
Copyright © 2016. All rights reserved.