Changeset 33278 in project


Ignore:
Timestamp:
03/13/16 22:07:39 (5 years ago)
Author:
John Foerch
Message:

eggref/4/ola: update for changes in version 0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/ola

    r33274 r33278  
    2929
    3030== API
     31=== Version
     32
     33<procedure>(ola-version) => (major minor revision)</procedure>
     34
     35Return ola's version as a list.
     36
     37<procedure>(ola-version-string) => string</procedure>
     38
     39Return ola's version as a string.
     40
    3141=== Logging
    3242
     
    140150<procedure>(streamingclient [auto-start: bool] [server-port: port]) => streamingclient</procedure>
    141151
    142 Constructs a client.  Auto-start is whether to start olad if it is not already running, default true.  Server-port is the port to use, default 9010.
    143 
    144 <procedure>(streamingclient-setup streamingclient) => bool</procedure>
    145 
    146 Required initialization of a streamingclient.
     152Constructs a client and attempts to establish a connection to the ola
     153daemon.  Auto-start is whether to start olad if it is not already running,
     154default true.  Server-port is the port to use, default 9010.  Signals an
     155'(exn ola)' condition if it fails to connect to the ola daemon.
    147156
    148157<procedure>(streamingclient-stop streamingclient) => undefined</procedure>
     
    158167
    159168<enscript>
    160 (use ola miscmacros)
     169(use ola)
    161170(let ((client (streamingclient auto-start: #f)))
    162   (unless (streamingclient-setup client)
    163     (error "OLA StreamingClient setup failed"))
    164171  (streamingclient-send-dmx client 0 (dmxbuffer (string->blob "AeIoUaEiO"))))
    165172</enscript>
     
    168175== License
    169176
    170 LGPL 3
     177LGPL-3
    171178
    172179
     
    175182* 0.1 (2016-03-12) initial release
    176183* 0.2 (2016-03-13) meta and documentation
     184* 0.3 (2016-03-13) streamingclient-setup removed, ola-version added
Note: See TracChangeset for help on using the changeset viewer.