com.anabas.gxo
Interface GMS_StreamFactory


public interface GMS_StreamFactory

The initial starting point for sharedlets to get a handle into the event bus universe. Security ------------ Prevention of 1 sharedlet instance from accessing other sharedlet instance's messages or 1 user from accessing another user's messages. Environment can automatically set message selector defaults such as user=,sharedlet=. All subsequent createSubscriber will inherit these defaults.


Method Summary
 GMS_Stream createStream(java.lang.String name, java.util.Hashtable params)
          Creates a new stream within the stream context.
 void setProperty(java.lang.String str, java.lang.Object obj)
          Sets setup properties for the event bus factory.
 

Method Detail

setProperty

public void setProperty(java.lang.String str,
                        java.lang.Object obj)
Sets setup properties for the event bus factory. Such as connection parameters, authentication parameters, ...

createStream

public GMS_Stream createStream(java.lang.String name,
                               java.util.Hashtable params)
                        throws GXO_AccessDeniedException
Creates a new stream within the stream context. A stream is the leaf node of a stream tree. Basically a DirContext.bind(name,CXO_Collection) operation.
Parameters:
params - A list of parameters for the stream. For example: "min_latency" - "50ms" "encrypted" - "true" "persistent" - "none"