jxUtil 0.6

org.sourceforge.jxutil.net.xfs
Class XFSEvents

java.lang.Object
  |
  +--org.sourceforge.jxutil.net.xfs.XFSPackets
        |
        +--org.sourceforge.jxutil.net.xfs.XFSEvents

public class XFSEvents
extends XFSPackets

Events may be generated in response to requests or at the server's discretion after the initial connection setup information has been exchanged. Each event is at least 12 bytes long and contains the following fields: type:CARD8 value of 2 event-code:CARD8 sequence-number:CARD16 length:CARD32 timestamp:TIMESTAMP The TYPE field contains the value 2. The EVENT-CODE field specifies the number of the event and is in the range 0-127 for core events or the range 128-255 for extensions. The SEQUENCE-NUMBER field specifies the least significant 16 bits of the sequence number of the last request to have been processed by the server. The LENGTH field specifies the number of 4-byte units in this event packet and must always have a value of at least 3. The TIMESTAMP field specifies the server time when the event occurred. If LENGTH is greater than three, these fields are followed by (LENGTH - 3) * 4 bytes of additional data.


Nested Class Summary
static class XFSEvents.CatalogueListNotifyEv
          This event is sent to clients that have included CatalogueListChangeMask in their core event mask whenever the list of catalogues that are available has changed.
static class XFSEvents.FontListNotifyEv
          This event is sent to clients that have included FontListChangeMask in their event mask whenever the list of fonts that are provided by the currently selected catalogues has changed.
static class XFSEvents.KeepAliveEv
          This unsolicited, nonmaskable event may be sent by the server to verify that the connection has not been broken (for transports that do not provide this information).
static class XFSEvents.UnknownEv
           
 
Nested classes inherited from class org.sourceforge.jxutil.net.xfs.XFSPackets
XFSPackets.OpenConnectionReq, XFSPackets.OpenConnectionRes, XFSPackets.XFSError, XFSPackets.XFSRequest, XFSPackets.XFSResponse
 
Field Summary
 
Fields inherited from class org.sourceforge.jxutil.net.xfs.XFSPackets
emptyBuf
 
Constructor Summary
XFSEvents()
           
 
Methods inherited from class org.sourceforge.jxutil.net.xfs.XFSPackets
getStringList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XFSEvents

public XFSEvents()

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.