de.humatic.dsj.src
Class RTMPSource.SharedObject

java.lang.Object
  extended by de.humatic.dsj.src.RTMPSource.SharedObject
Enclosing class:
RTMPSource

public class RTMPSource.SharedObject
extends java.lang.Object

SharedObjects are both Flash's equivalent to cookies as well as a means for data persistance and data exchange between FMS clients. Clients get hold of a SharedObject by calling RTMPSource.getSharedObject which will either return an already existing object or create one.


Field Summary
static int CLIENT_CLEAR_DATA
          subtypes
static int CLIENT_DELETE_DATA
          subtypes
static int CLIENT_INITIAL_DATA
          subtypes
static int CLIENT_STATUS
          subtypes
static int CLIENT_UPDATE_ATTRIBUTE
          subtypes
static int CLIENT_UPDATE_DATA
          subtypes
static int SERVER_CONNECT
          subtypes
static int SERVER_DELETE_ATTRIBUTE
          subtypes
static int SERVER_DISCONNECT
          subtypes
static int SERVER_SEND_MESSAGE
          subtypes
static int SERVER_SET_ATTRIBUTE
          subtypes
static int SO_PERSISTANT
           
 
Method Summary
 java.lang.String[] getData()
           
 java.lang.String getName()
           
 int getSubType()
           
 int getVersion()
           
 void setAttribute(java.lang.String key, java.lang.String value)
           
 void setSubType(int st)
           
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_CONNECT

public static final int SERVER_CONNECT
subtypes

See Also:
Constant Field Values

SERVER_DISCONNECT

public static final int SERVER_DISCONNECT
subtypes

See Also:
Constant Field Values

SERVER_SET_ATTRIBUTE

public static final int SERVER_SET_ATTRIBUTE
subtypes

See Also:
Constant Field Values

CLIENT_UPDATE_DATA

public static final int CLIENT_UPDATE_DATA
subtypes

See Also:
Constant Field Values

CLIENT_UPDATE_ATTRIBUTE

public static final int CLIENT_UPDATE_ATTRIBUTE
subtypes

See Also:
Constant Field Values

SERVER_SEND_MESSAGE

public static final int SERVER_SEND_MESSAGE
subtypes

See Also:
Constant Field Values

CLIENT_STATUS

public static final int CLIENT_STATUS
subtypes

See Also:
Constant Field Values

CLIENT_CLEAR_DATA

public static final int CLIENT_CLEAR_DATA
subtypes

See Also:
Constant Field Values

CLIENT_DELETE_DATA

public static final int CLIENT_DELETE_DATA
subtypes

See Also:
Constant Field Values

SERVER_DELETE_ATTRIBUTE

public static final int SERVER_DELETE_ATTRIBUTE
subtypes

See Also:
Constant Field Values

CLIENT_INITIAL_DATA

public static final int CLIENT_INITIAL_DATA
subtypes

See Also:
Constant Field Values

SO_PERSISTANT

public static final int SO_PERSISTANT
See Also:
Constant Field Values
Method Detail

toByteArray

public byte[] toByteArray()

setSubType

public void setSubType(int st)

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.String value)

getName

public java.lang.String getName()

getVersion

public int getVersion()

getSubType

public int getSubType()

getData

public java.lang.String[] getData()