All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface amarquee.AMarqueeListener

public interface AMarqueeListener
The listener interface for receiving AMarquee events.


Method Index

 o aMarqueeConnected(AMarqueeEvent)
 o aMarqueeConnectionLost(AMarqueeEvent)
 o aMarqueeDelVal(AMarqueeEvent)
 o aMarqueeError(AMarqueeEvent)
 o aMarqueeInfo(AMarqueeEvent)
 o aMarqueePing(AMarqueeEvent)
 o aMarqueeQMessage(AMarqueeEvent)
 o aMarqueeSendDone(AMarqueeEvent)
 o aMarqueeSetVal(AMarqueeEvent)
 o aMarqueeSubAdded(AMarqueeEvent)
 o aMarqueeSubRemoved(AMarqueeEvent)
 o aMarqueeSysMsg(AMarqueeEvent)
 o aMarqueeUnPrivileged(AMarqueeEvent)

Methods

 o aMarqueeConnected
 public void aMarqueeConnected(AMarqueeEvent event)

Invoked when a QSession has been successfully connected to a remote host.

 o aMarqueeConnectionLost
 public void aMarqueeConnectionLost(AMarqueeEvent event)

Invoked when a QSession has lost its connection or when a connection could not be established

 o aMarqueeDelVal
 public void aMarqueeDelVal(AMarqueeEvent event)

Invoked when a Delete oPeration is received.

 o aMarqueeError
 public void aMarqueeError(AMarqueeEvent event)

Invoked when an error happened. The QSession should be closed if you get an error here!

 o aMarqueeInfo
 public void aMarqueeInfo(AMarqueeEvent event)

Invoked when a QRunInfo is received after you have requested one with QSession.InfoOp().

 o aMarqueePing
 public void aMarqueePing(AMarqueeEvent event)

Invoked when the server pings you.

 o aMarqueeQMessage
 public void aMarqueeQMessage(AMarqueeEvent event)

Invoked when a QMessage made with MessageOp is received.

 o aMarqueeSendDone
 public void aMarqueeSendDone(AMarqueeEvent event)

Invoked when a QSession has sent all packets since last QSession.Go(AMarquee.QGOF_NOTIFY). This message was sent to you by the AMarquee TCP thread running on your machine, to let you know that your QGo() packet has been sent (or at least, that it has been completely handed off to the TCP Stack's transmission code).

You will only get this QMessage back if you specified the AMarquee.QGOF_NOTIFY flag in your call to Go().

The getID() of this QMessage is the same as the return value of the Go() call that caused it to be sent.

 o aMarqueeSetVal
 public void aMarqueeSetVal(AMarqueeEvent event)

Invoked when a SetOp/StreamOp message has been received.

 o aMarqueeSubAdded
 public void aMarqueeSubAdded(AMarqueeEvent event)

Invoked when data you are interested in are changed/added. (SubscribeOp)

 o aMarqueeSubRemoved
 public void aMarqueeSubRemoved(AMarqueeEvent event)

Invoked when data you are interested in are removed. (SubscribeOp)

 o aMarqueeSysMsg
 public void aMarqueeSysMsg(AMarqueeEvent event)

Invoked when a System Message has been received. This message is a system message sent to you by a client with AMarquee.QPRIV_SENDSYSMESSAGES access. By getting the path with getPath() you will know who sent it to you. The text message you get with getData().
Note that you will only ever see this value of qm_Status if you have requested AMarquee.QPRIV_GETSYSMESSAGES access.

 o aMarqueeUnPrivileged
 public void aMarqueeUnPrivileged(AMarqueeEvent event)

You get this when you tried to do something you're not allowed to do (such as writing to another client's directory or renaming your root node).
Note that trying to read from the directory of a client who has excluded you via SetAccessOp will not result in this error-- rather, you just won't get any results back. You will also get this error if you sent a MessageOp that no other clients were willing to receive.


All Packages  Class Hierarchy  This Package  Previous  Next  Index