|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.dav.daf.communication.lowLevel.telegrams.DataTelegram
de.bsvrz.dav.daf.communication.lowLevel.telegrams.TransmitterListsUpdate
public class TransmitterListsUpdate
Implementierung von Anmeldelistentelegrammen, die zwischen Datenverteilern zum Austausch von Informationen über angemeldete Objekte, Attributgruppen und Aspekte verwendet werden.
Field Summary | |
---|---|
private static Debug |
_debug
|
private AttributeGroupAspectCombination[] |
attributeGroupAspectsToAdd
Die hinzugekommenden Kombinationen aus Attributegruppen und Aspekten |
private AttributeGroupAspectCombination[] |
attributeGroupAspectsToRemove
Die zu entfernenden Kombinationen aus Attributegruppen und Aspekten |
private boolean |
delta
Deltaindikator, der anzeigt, ob die komplette Objekt- und Attributgruppenliste für den Datenverteiler übermittelt wird [0] oder ob nur Änderungen zu den Listen übertragen werden [1]. |
private long[] |
objectsToAdd
Die hinzugekommenden Objekte |
private long[] |
objectsToRemove
Die zu entfernenden Objekte |
private long |
transmitterId
Objekt-ID des Datenverteilers, zu dem Informationen für die Objekt- und Attributgruppenliste übertragen wird. |
Constructor Summary | |
---|---|
TransmitterListsUpdate(byte type)
|
|
TransmitterListsUpdate(long _transmitterId,
boolean _delta,
long[] _objectsToAdd,
long[] _objectsToRemove,
AttributeGroupAspectCombination[] _attributeGroupAspectsToAdd,
AttributeGroupAspectCombination[] _attributeGroupAspectsToRemove)
|
Method Summary | |
---|---|
AttributeGroupAspectCombination[] |
getAttributeGroupAspectsToAdd()
Gibt die hinzugekommenden Kombinationen der Attributesgruppen und Aspkten zurück |
AttributeGroupAspectCombination[] |
getAttributeGroupAspectsToRemove()
Gibt die zu entfernenden Kombinationen der Attributesgruppen und Aspkten zurück |
long[] |
getObjectsToAdd()
Gibt die hinzugekommenden Objekten zurück |
long[] |
getObjectsToRemove()
Gibt die zu entfernenden Objekten zurück |
long |
getTransmitterId()
Gibt die Id des lieferanten Datenverteilers zurück |
boolean |
isDeltaMessage()
Gibt zurück, ob nur die Änderungen oder alle Informationen übertragen werden |
String |
parseToString()
Gibt eine String-Repräsentation dieses Datensatzes zurück. |
void |
read(DataInputStream in)
Liest ein Telegramm vom übergegebenen DataInputStream. |
String |
toString()
Returns a string representation of the object. |
void |
write(DataOutputStream out)
Schreibt ein Telegramm in den übergegebenen DataOutputStream. |
Methods inherited from class de.bsvrz.dav.daf.communication.lowLevel.telegrams.DataTelegram |
---|
getLength, getPriority, getSize, getTelegram, getType, toShortDebugParamString, toShortDebugString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private long transmitterId
private boolean delta
private long[] objectsToAdd
private long[] objectsToRemove
private AttributeGroupAspectCombination[] attributeGroupAspectsToAdd
private AttributeGroupAspectCombination[] attributeGroupAspectsToRemove
private static Debug _debug
Constructor Detail |
---|
public TransmitterListsUpdate(byte type)
public TransmitterListsUpdate(long _transmitterId, boolean _delta, long[] _objectsToAdd, long[] _objectsToRemove, AttributeGroupAspectCombination[] _attributeGroupAspectsToAdd, AttributeGroupAspectCombination[] _attributeGroupAspectsToRemove)
Method Detail |
---|
public String toString()
toString
method returns a string that "textually represents" this object. The
result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the object is an instance, the
at-sign character `@
', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string
equal to the value of: getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class DataTelegram
public final long getTransmitterId()
public final boolean isDeltaMessage()
true
, wenn nur Änderungen, false
, wenn alle Informationen übertragen werdenpublic final long[] getObjectsToAdd()
public final long[] getObjectsToRemove()
public final AttributeGroupAspectCombination[] getAttributeGroupAspectsToAdd()
public final AttributeGroupAspectCombination[] getAttributeGroupAspectsToRemove()
public final String parseToString()
DataTelegram
parseToString
in class DataTelegram
public final void write(DataOutputStream out) throws IOException
DataTelegram
write
in class DataTelegram
out
- Der DataOutputStream.
IOException
- Falls der Datensatz nicht in den Stream geschrieben werden kann.public final void read(DataInputStream in) throws IOException
DataTelegram
read
in class DataTelegram
in
- Der DataInputStream.
IOException
- Falls der Datensatz nicht aus dem Stream gelesen werden kann.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |