Saros
Distributed Collaborative Editing and Distributed Party Programming
Package de.fu_berlin.inf.dpp.whiteboard.sxe.constants

Enumerations

enum  NodeType { ELEMENT = ("element"), ATTR = ("attr") }
enum  RecordEntry {
  RID = ("rid"), TARGET = ("target"), TYPE = ("type"), VERSION = ("version"),
  RECORD_TYPE, TARGET_VERSION = ("target-version"), PARENT = ("parent"), VISIBLE,
  PRIMARY_WEIGHT = ("primary-weight"), NS = ("ns"), NAME = ("name"), CHDATA,
  CREATOR = ("creator"), LAST_MODIFIED_BY = ("last-modified-by"), SENDER
}
enum  RecordType { NEW = ("new"), SET = ("set"), REMOVE = ("remove") }
enum  SXEMessageType {
  RECORDS = ("records"), STATE_OFFER = ("state-offer"), REFUSE_STATE = ("refuse-state"), ACCEPT_STATE,
  ACK_STATE = ("ack-state"), STATE = ("state")
}

Enumeration Type Documentation

Enumeration for the type attribute value of a new record respective SXE.

Each constant is enhanced by its XML tag to be used when serialized. Accessible by the toString()-method.

The static utility method fromString(String) facilitates deserialization.

Author:
jurke
Enumerator:
ELEMENT 
ATTR 

Enumeration for all possible attributes of any record respective SXE. Used in the RecordDataObject.

Each constant is enhanced by its XML tag to be used when serialized. Accessible by the toString()-method.

The static utility method fromString(String) facilitates deserialization.

Author:
jurke
Enumerator:
RID 
TARGET 
TYPE 
VERSION 
RECORD_TYPE 
TARGET_VERSION 
PARENT 
VISIBLE 
PRIMARY_WEIGHT 
NS 
NAME 
CHDATA 
CREATOR 
LAST_MODIFIED_BY 
SENDER 

Enumeration for different instances of records.

Each constant is enhanced by its XML tag to be used when serialized. Accessible by the toString()-method.

The static utility method fromString(String) facilitates deserialization.

Author:
jurke
Enumerator:
NEW 
SET 
REMOVE 

Enumeration for SXE messages used during session negotiation.

Each constant but RECORDS is enhanced by its XML tag to be used when serialized. Accessible by the toString()-method.

The static utility method fromString(String) facilitates deserialization. It also checks whether the provided tag is a RecordType and will return RECORDS respectively.

Author:
jurke
Enumerator:
RECORDS 
STATE_OFFER 
REFUSE_STATE 
ACCEPT_STATE 
ACK_STATE 
STATE 
 All Classes Namespaces Files Functions Variables Enumerations