com.anabas.gxo
Interface GMS_StreamSubscriber


public interface GMS_StreamSubscriber

Title: Description: Copyright: Copyright (c) 2000 Company:


Method Summary
 GMS_Message receiveMessage()
          Synchronous reception of messages.
 void setMessageListener(GMS_MessageListener m)
          Set a listener for asychronous reception of messages.
 void setSelector(GMS_MessageSelector s)
          Sets the message filter for the subscriber.
 

Method Detail

setSelector

public void setSelector(GMS_MessageSelector s)
                 throws GXO_Exception
Sets the message filter for the subscriber. Best if the filter is implemented on the server side.
Throws:
AccessDeniedException - The message selector or part of it violates security constraints.

setMessageListener

public void setMessageListener(GMS_MessageListener m)
                        throws GXO_Exception
Set a listener for asychronous reception of messages.

receiveMessage

public GMS_Message receiveMessage()
                           throws GXO_MessageException
Synchronous reception of messages.