![]() | ![]() | ![]() | define-streamer-node | ![]() |
|
| &key
host
port
documentation
| [Macro] |
Purpose
Define or redefine a streamer node.
Package :gbbopen
Module :network-streaming
Arguments and values
| name | An object naming the streamer node (not evaluated) | |
| host | A 32-bit internet address or a string specifying the remote host
(default "localhost")
| |
| port | An integer or a string specifying the service port (default
is | |
| documentation | A documentation string or nil (default is nil)
| |
| passphrase | A string or nil (default is nil)
| |
| external-format | An external-file-format designator (default is
:default | |
| package | A package designator indicating the package to be used
when establishing a streaming connection to node (default is
:common-lisp | |
| read-default-float-format | One of the atomic type specifiers
short-floatsingle-floatdouble-floatlong-floatsingle-float | |
| authorized-nodes | Needed (default is :all)
| |
| accepted-streamer-node-class | Needed (default is accepted-streamer-node)
| |
| accepted-streamer-node-initargs | Needed (default is nil)
|
Returns
The newly defined or modified streamer node object.
See also
*default-network-stream-server-port*
close-streamer
find-streamer-node
open-network-streamer
open-streamer-p
stream-of
Example
Define a streamer node:
> (define-streamer-node "me"
:host "127.0.0.1"
:package ':gbbopen-user
:passphrase "Who goes there?"
:authorized-nodes '("you"))
#<streamer-node "me">
>
Note
Modifications to a streamer node object apply the next time
that a network streamer is created for the streamer node—the
changes to not affect an established network streamer.
The GBBopen Project
![]() | ![]() | ![]() | define-streamer-node | ![]() |