This is the cl-fix Reference Manual, version 0.2.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:53:52 2024 GMT+0.
cl-fix/cl-fix.asd
cl-fix/src/package.lisp
cl-fix/src/fastbuffer.lisp
cl-fix/src/cl-fix-types.lisp
cl-fix/src/cl-fix-serialization.lisp
cl-fix/src/cl-fix-validation.lisp
cl-fix/src/cl-fix-dict.lisp
cl-fix/src/cl-fix-util.lisp
cl-fix/src/cl-fix-fsm.lisp
cl-fix/src/cl-fix-message-store.lisp
cl-fix/src/cl-fix-session.lisp
cl-fix/src/cl-fix-connector.lisp
cl-fix/src/cl-fix-initiator.lisp
cl-fix/src/cl-fix-acceptor.lisp
The main system appears first, followed by any subsystem dependency.
cl-fix
A FIX (Financial Information eXchange) library for Common Lisp
Sandipan Razzaque <z@fix9.net>
Apache 2.0
0.2.0
local-time
(system).
usocket
(system).
bordeaux-threads
(system).
alexandria
(system).
log4cl
(system).
parse-number
(system).
arrow-macros
(system).
cl-ppcre
(system).
src
(module).
Modules are listed depth-first from the system components tree.
cl-fix/src
cl-fix
(system).
package.lisp
(file).
fastbuffer.lisp
(file).
cl-fix-types.lisp
(file).
cl-fix-serialization.lisp
(file).
cl-fix-validation.lisp
(file).
cl-fix-dict.lisp
(file).
cl-fix-util.lisp
(file).
cl-fix-fsm.lisp
(file).
cl-fix-message-store.lisp
(file).
cl-fix-session.lisp
(file).
cl-fix-connector.lisp
(file).
cl-fix-initiator.lisp
(file).
cl-fix-acceptor.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-fix/cl-fix.asd
cl-fix/src/package.lisp
cl-fix/src/fastbuffer.lisp
cl-fix/src/cl-fix-types.lisp
cl-fix/src/cl-fix-serialization.lisp
cl-fix/src/cl-fix-validation.lisp
cl-fix/src/cl-fix-dict.lisp
cl-fix/src/cl-fix-util.lisp
cl-fix/src/cl-fix-fsm.lisp
cl-fix/src/cl-fix-message-store.lisp
cl-fix/src/cl-fix-session.lisp
cl-fix/src/cl-fix-connector.lisp
cl-fix/src/cl-fix-initiator.lisp
cl-fix/src/cl-fix-acceptor.lisp
cl-fix/src/fastbuffer.lisp
package.lisp
(file).
src
(module).
fb
(class).
fb-elt
(function).
(setf fb-elt)
(function).
fb-process
(function).
fb-publish
(function).
fb-publish-one
(macro).
fb-reserve
(function).
fb-reset
(function).
initialize-instance
(method).
%get-writer-idx
(function).
backpressure
(condition).
cl-fix/src/cl-fix-types.lisp
fastbuffer.lisp
(file).
src
(module).
amt
(type).
country
(type).
currency
(type).
data
(type).
dayofmonth
(type).
exchange
(type).
get-from-string-converter
(function).
get-to-string-converter
(function).
int
(type).
len
(type).
localmktdate
(structure).
make-localmktdate
(function).
make-monthyear
(function).
make-utcdateonly
(function).
make-utctimeonly
(function).
monthyear
(structure).
numingroup
(type).
percentage
(type).
price
(type).
priceoffset
(type).
qty
(type).
repeating-group
(type).
seqnum
(type).
tagnum
(type).
utcdateonly
(structure).
utctimeonly
(structure).
utctimestamp
(type).
%string-to-ymd-type
(function).
boolean-to-string
(function).
copy-localmktdate
(function).
copy-monthyear
(function).
copy-utcdateonly
(function).
copy-utctimeonly
(function).
double-to-string
(function).
localmktdate-day
(reader).
(setf localmktdate-day)
(writer).
localmktdate-month
(reader).
(setf localmktdate-month)
(writer).
localmktdate-p
(function).
localmktdate-to-string
(function).
localmktdate-year
(reader).
(setf localmktdate-year)
(writer).
monthyear-day
(reader).
(setf monthyear-day)
(writer).
monthyear-month
(reader).
(setf monthyear-month)
(writer).
monthyear-p
(function).
monthyear-to-string
(function).
monthyear-week-code
(reader).
(setf monthyear-week-code)
(writer).
monthyear-year
(reader).
(setf monthyear-year)
(writer).
string-to-boolean
(function).
string-to-char
(function).
string-to-double
(function).
string-to-int
(function).
string-to-localmktdate
(function).
string-to-monthyear
(function).
string-to-timestamp
(function).
string-to-utcdateonly
(function).
string-to-utctimeonly
(function).
timestamp-to-string
(function).
type-parse-error
(condition).
utcdateonly-day
(reader).
(setf utcdateonly-day)
(writer).
utcdateonly-month
(reader).
(setf utcdateonly-month)
(writer).
utcdateonly-p
(function).
utcdateonly-to-string
(function).
utcdateonly-year
(reader).
(setf utcdateonly-year)
(writer).
utctimeonly-hour
(reader).
(setf utctimeonly-hour)
(writer).
utctimeonly-millisecond
(reader).
(setf utctimeonly-millisecond)
(writer).
utctimeonly-minute
(reader).
(setf utctimeonly-minute)
(writer).
utctimeonly-p
(function).
utctimeonly-second
(reader).
(setf utctimeonly-second)
(writer).
utctimeonly-to-string
(function).
cl-fix/src/cl-fix-serialization.lisp
cl-fix-types.lisp
(file).
src
(module).
read-fix-msg
(function).
serialize-fix-msg
(function).
%calc-checksum
(function).
%field-to-str
(function).
%get-data-field
(function).
%get-next-pair
(function).
%group-p
(function).
%group-to-str
(function).
%inner-push
(function).
%parse-fix-str-to-plist
(function).
%read-fix
(function).
%recurse-plist
(function).
%recursive-reverse
(function).
%unknown-tag
(function).
%validate-data-length
(function).
checksum-mismatch
(condition).
invalid-data-length
(condition).
serializer-error
(condition).
unknown-tag
(condition).
validate
(function).
cl-fix/src/cl-fix-validation.lisp
cl-fix-serialization.lisp
(file).
src
(module).
validate-msg
(function).
validation-error-err
(reader).
(setf validation-error-err)
(writer).
validation-error-path
(reader).
(setf validation-error-path)
(writer).
%check-invalid-types
(function).
%check-missing-required-fields
(function).
%check-unknown-fields
(function).
%field-name-sym
(function).
%get-field-type
(function).
%get-fld-name
(function).
%get-val
(function).
%is-missing
(function).
%is-required-field
(function).
%is-sane-type
(function).
%is-user-controlled-field
(function).
%make-type-err-msg
(function).
%normalize-fld
(function).
copy-validation-error
(function).
make-validation-error
(function).
validation-error
(structure).
validation-error-msg
(reader).
(setf validation-error-msg)
(writer).
validation-error-p
(function).
cl-fix/src/cl-fix-dict.lisp
cl-fix-validation.lisp
(file).
src
(module).
*registry*
(special variable).
defcomponent
(macro).
defdict
(macro).
deffields
(macro).
defheader
(macro).
defmessage
(macro).
defreader
(macro).
defserializer
(macro).
deftrailer
(macro).
defvalidator
(macro).
in-dict
(macro).
%deffield
(macro).
%make-reader
(function).
%make-serializer
(function).
%make-serializer-str
(function).
%make-validate-fn
(function).
%plist-to-flipped-alist
(function).
%resolve-data-len-fields
(function).
*dict*
(special variable).
add-component-to-dict
(function).
add-field
(function).
add-field-to-dict
(function).
add-from-string-converter
(function).
add-group
(function).
add-message
(function).
add-to-string-converter
(function).
bad-enum-type
(condition).
define-groups-from-fields
(function).
dictionary-error
(condition).
differing-enum-types
(condition).
field-name-clash
(condition).
make-dict
(function).
make-field-metadata
(function).
register-dictionary
(function).
register-reader
(function).
register-serializer
(function).
register-validator
(function).
resolve
(function).
set-dictionary
(function).
set-header
(function).
set-trailer
(function).
tag-value-clash
(condition).
validate-field
(function).
cl-fix/src/cl-fix-util.lisp
cl-fix-dict.lisp
(file).
src
(module).
destroy-thread
(function).
(setf fix-field)
(setf expander).
fix-field
(function).
fix-msg-type
(function).
getff
(function).
make-fix-msg
(function).
resolve-dict
(function).
cl-fix/src/cl-fix-fsm.lisp
cl-fix-util.lisp
(file).
src
(module).
fsm
(class).
fsm-current-state
(reader method).
fsm-process-event
(function).
initialize-instance
(method).
make-transition
(function).
%find-transition
(function).
%noop
(function).
transition
(class).
cl-fix/src/cl-fix-message-store.lisp
cl-fix-fsm.lisp
(file).
src
(module).
close-store
(function).
file-store
(structure).
file-store-first-msg-position
(reader).
(setf file-store-first-msg-position)
(writer).
iterate
(function).
make-file-store
(function).
rebuild-index
(function).
store-msg
(function).
copy-file-store
(function).
file-store-msg-index
(reader).
(setf file-store-msg-index)
(writer).
file-store-p
(function).
file-store-stream
(reader).
(setf file-store-stream)
(writer).
cl-fix/src/cl-fix-session.lisp
cl-fix-message-store.lisp
(file).
src
(module).
*current-time*
(special variable).
close-stores
(generic function).
conn
(reader method).
(setf conn)
(writer method).
deftickhandler
(macro).
enqueue-msg
(function).
init-session
(generic function).
init-stores
(generic function).
initialize-instance
(method).
on-connect
(generic function).
perform-resend
(function).
persist
(function).
persist-inbound-msg
(function).
persist-outbound-msg
(function).
print-object
(method).
read-state-from-store
(generic function).
reset-incoming-seq-num
(generic function).
reset-outgoing-seq-num
(generic function).
sender-comp-id
(reader method).
(setf sender-comp-id)
(writer method).
sender-sub-id
(reader method).
(setf sender-sub-id)
(writer method).
session
(class).
session-handler
(reader method).
(setf session-handler)
(writer method).
session-id
(reader method).
session-status
(reader method).
session-tick
(reader method).
(setf session-tick)
(writer method).
stop-session
(generic function).
stoppedp
(function).
target-comp-id
(reader method).
(setf target-comp-id)
(writer method).
target-sub-id
(reader method).
(setf target-sub-id)
(writer method).
validate-logon
(generic function).
%check-gap-fill-state
(function).
%check-liveness
(function).
%check-seq-num
(function).
%create-gap-fill-msg
(function).
%default-tick-fn
(function).
%determine-session-filename
(function).
%handle-gap-fill-msg
(function).
%handle-heartbeat
(function).
%handle-initial-logon
(function).
%handle-resend-request
(function).
%handle-seq-num-too-high
(function).
%handle-sequence-reset
(function).
%handle-test-request
(function).
%is-admin
(function).
%is-gap-fill-msg
(function).
%is-standard-sequence-reset
(function).
%make-heartbeat
(function).
%make-outbound-msg-store
(function).
%pre-send
(function).
%process-admin-msg
(function).
%process-queued-messages
(function).
%request-close-stores
(function).
%reset-seq-nums
(function).
%send-logon
(function).
%send-logout
(function).
%send-test-request
(function).
%session-handle-msg
(function).
%session-process-msg
(function).
%wrap-handler
(function).
*next-session-id*
(special variable).
*next-test-req-id*
(special variable).
send-on-invalid-session-status
(condition).
session-error
(condition).
cl-fix/src/cl-fix-connector.lisp
cl-fix-session.lisp
(file).
src
(module).
add-session
(generic function).
backpressure-error
(condition).
connector
(class).
connector-error
(condition).
connector-event
(class).
connector-state
(generic function).
enqueue-msg
(function).
event-data
(reader method).
(setf event-data)
(writer method).
event-raw-msg
(reader method).
(setf event-raw-msg)
(writer method).
event-source-session
(reader method).
(setf event-source-session)
(writer method).
event-timestamp
(reader method).
(setf event-timestamp)
(writer method).
event-type
(reader method).
(setf event-type)
(writer method).
find-session
(function).
get-sessions
(function).
initialize-instance
(method).
print-object
(method).
publish-tick
(function).
retries-exhausted
(condition).
serialize-and-send
(function).
socket-read-error
(condition).
socket-write-error
(condition).
start-connector
(generic function).
stop-connector
(generic function).
%lookup-session-by-key
(function).
%make-default-fastbuffer
(function).
%session-key
(function).
%session-key-part
(function).
*event-timestamp*
(special variable).
cl-fix/src/cl-fix-initiator.lisp
cl-fix-connector.lisp
(file).
src
(module).
connector-state
(method).
initiator
(class).
start-connector
(method).
stop-connector
(method).
%await-stop
(function).
%check-liveness
(function).
%check-ready
(function).
%check-stopped
(function).
%force-stop
(function).
%handle-backpressure
(function).
%init-sessions
(function).
%initiate-io
(function).
%io-ready
(function).
%io-stopped
(function).
%process-inbound-event
(function).
%process-outbound-event
(function).
%read-msgs-from-socket
(function).
%reset-initiator-state
(function).
%run-loop
(function).
%run-single-io-loop
(function).
%run-single-worker-loop
(function).
%shutdown-initiator
(function).
%start-initiator
(function).
%start-io
(function).
%start-worker
(function).
%worker-ready
(function).
%worker-stopped
(function).
*running-states*
(special variable).
destroy-thread
(function).
cl-fix/src/cl-fix-acceptor.lisp
cl-fix-initiator.lisp
(file).
src
(module).
acceptor
(class).
connector-state
(method).
start-connector
(method).
stop-connector
(method).
%await-stop
(function).
%check-for-incoming-clients
(function).
%check-running
(function).
%check-states
(function).
%check-stopped
(function).
%client-connected
(function).
%find-client-session
(function).
%force-stop
(function).
%handle-new-client-connection
(function).
%initiate-listener
(function).
%loop-through-client-sessions
(function).
%make-client-buffer
(function).
%make-logout-msg
(function).
%notify-client
(function).
%process-inbound-event
(function).
%process-outbound-event
(function).
%process-outbound-events
(function).
%read-msgs
(function).
%read-msgs-from-stream
(function).
%remove-client-session
(function).
%remove-stopped-sessions
(function).
%reset-state
(function).
%run-loop
(function).
%send-logout
(function).
%shutdown-io
(function).
%signal-start
(function).
%signal-stop
(function).
%single-client-io-loop
(function).
%single-listener-loop
(function).
%single-worker-loop
(function).
%start-acceptor
(function).
%start-client-io-thread
(function).
%start-listener-thread
(function).
%start-threads
(function).
%start-worker-thread
(function).
%stop-existing-sessions-if-any
(function).
client-session
(structure).
client-session-inbuf
(reader).
(setf client-session-inbuf)
(writer).
client-session-outbuf
(reader).
(setf client-session-outbuf)
(writer).
client-session-p
(function).
client-session-session
(reader).
(setf client-session-session)
(writer).
client-session-stream
(reader).
(setf client-session-stream)
(writer).
copy-client-session
(function).
make-client-session
(function).
Packages are listed by definition order.
cl-fix-validation
cl-fix-fsm
cl-fix-acceptor
cl-fix-types
fastbuffer
cl-fix-dict
cl-fix-connector
cl-fix-message-store
cl-fix-initiator
cl-fix
cl-fix-session
cl-fix-util
cl-fix-serialization
cl-fix-validation
alexandria
.
common-lisp
.
validate-msg
(function).
validation-error-err
(reader).
(setf validation-error-err)
(writer).
validation-error-path
(reader).
(setf validation-error-path)
(writer).
%check-invalid-types
(function).
%check-missing-required-fields
(function).
%check-unknown-fields
(function).
%field-name-sym
(function).
%get-field-type
(function).
%get-fld-name
(function).
%get-val
(function).
%is-missing
(function).
%is-required-field
(function).
%is-sane-type
(function).
%is-user-controlled-field
(function).
%make-type-err-msg
(function).
%normalize-fld
(function).
copy-validation-error
(function).
make-validation-error
(function).
validation-error
(structure).
validation-error-msg
(reader).
(setf validation-error-msg)
(writer).
validation-error-p
(function).
cl-fix-fsm
fsm
common-lisp
.
fsm
(class).
fsm-current-state
(generic reader).
fsm-process-event
(function).
make-transition
(function).
%find-transition
(function).
%noop
(function).
transition
(class).
cl-fix-acceptor
common-lisp
.
acceptor
(class).
%await-stop
(function).
%check-for-incoming-clients
(function).
%check-running
(function).
%check-states
(function).
%check-stopped
(function).
%client-connected
(function).
%find-client-session
(function).
%force-stop
(function).
%handle-new-client-connection
(function).
%initiate-listener
(function).
%loop-through-client-sessions
(function).
%make-client-buffer
(function).
%make-logout-msg
(function).
%notify-client
(function).
%process-inbound-event
(function).
%process-outbound-event
(function).
%process-outbound-events
(function).
%read-msgs
(function).
%read-msgs-from-stream
(function).
%remove-client-session
(function).
%remove-stopped-sessions
(function).
%reset-state
(function).
%run-loop
(function).
%send-logout
(function).
%shutdown-io
(function).
%signal-start
(function).
%signal-stop
(function).
%single-client-io-loop
(function).
%single-listener-loop
(function).
%single-worker-loop
(function).
%start-acceptor
(function).
%start-client-io-thread
(function).
%start-listener-thread
(function).
%start-threads
(function).
%start-worker-thread
(function).
%stop-existing-sessions-if-any
(function).
client-session
(structure).
client-session-inbuf
(reader).
(setf client-session-inbuf)
(writer).
client-session-outbuf
(reader).
(setf client-session-outbuf)
(writer).
client-session-p
(function).
client-session-session
(reader).
(setf client-session-session)
(writer).
client-session-stream
(reader).
(setf client-session-stream)
(writer).
copy-client-session
(function).
make-client-session
(function).
cl-fix-types
common-lisp
.
amt
(type).
country
(type).
currency
(type).
data
(type).
dayofmonth
(type).
exchange
(type).
get-from-string-converter
(function).
get-to-string-converter
(function).
int
(type).
len
(type).
localmktdate
(structure).
make-localmktdate
(function).
make-monthyear
(function).
make-utcdateonly
(function).
make-utctimeonly
(function).
monthyear
(structure).
numingroup
(type).
percentage
(type).
price
(type).
priceoffset
(type).
qty
(type).
repeating-group
(type).
seqnum
(type).
tagnum
(type).
utcdateonly
(structure).
utctimeonly
(structure).
utctimestamp
(type).
%string-to-ymd-type
(function).
boolean-to-string
(function).
copy-localmktdate
(function).
copy-monthyear
(function).
copy-utcdateonly
(function).
copy-utctimeonly
(function).
double-to-string
(function).
localmktdate-day
(reader).
(setf localmktdate-day)
(writer).
localmktdate-month
(reader).
(setf localmktdate-month)
(writer).
localmktdate-p
(function).
localmktdate-to-string
(function).
localmktdate-year
(reader).
(setf localmktdate-year)
(writer).
monthyear-day
(reader).
(setf monthyear-day)
(writer).
monthyear-month
(reader).
(setf monthyear-month)
(writer).
monthyear-p
(function).
monthyear-to-string
(function).
monthyear-week-code
(reader).
(setf monthyear-week-code)
(writer).
monthyear-year
(reader).
(setf monthyear-year)
(writer).
string-to-boolean
(function).
string-to-char
(function).
string-to-double
(function).
string-to-int
(function).
string-to-localmktdate
(function).
string-to-monthyear
(function).
string-to-timestamp
(function).
string-to-utcdateonly
(function).
string-to-utctimeonly
(function).
timestamp-to-string
(function).
type-parse-error
(condition).
utcdateonly-day
(reader).
(setf utcdateonly-day)
(writer).
utcdateonly-month
(reader).
(setf utcdateonly-month)
(writer).
utcdateonly-p
(function).
utcdateonly-to-string
(function).
utcdateonly-year
(reader).
(setf utcdateonly-year)
(writer).
utctimeonly-hour
(reader).
(setf utctimeonly-hour)
(writer).
utctimeonly-millisecond
(reader).
(setf utctimeonly-millisecond)
(writer).
utctimeonly-minute
(reader).
(setf utctimeonly-minute)
(writer).
utctimeonly-p
(function).
utctimeonly-second
(reader).
(setf utctimeonly-second)
(writer).
utctimeonly-to-string
(function).
fastbuffer
fb
common-lisp
.
fb
(class).
fb-elt
(function).
(setf fb-elt)
(function).
fb-process
(function).
fb-publish
(function).
fb-publish-one
(macro).
fb-reserve
(function).
fb-reset
(function).
%get-writer-idx
(function).
backpressure
(condition).
cl-fix-dict
dict
arrow-macros
.
common-lisp
.
*registry*
(special variable).
defcomponent
(macro).
defdict
(macro).
deffields
(macro).
defheader
(macro).
defmessage
(macro).
defreader
(macro).
defserializer
(macro).
deftrailer
(macro).
defvalidator
(macro).
in-dict
(macro).
%deffield
(macro).
%make-reader
(function).
%make-serializer
(function).
%make-serializer-str
(function).
%make-validate-fn
(function).
%plist-to-flipped-alist
(function).
%resolve-data-len-fields
(function).
*dict*
(special variable).
add-component-to-dict
(function).
add-field
(function).
add-field-to-dict
(function).
add-from-string-converter
(function).
add-group
(function).
add-message
(function).
add-to-string-converter
(function).
bad-enum-type
(condition).
define-groups-from-fields
(function).
dictionary-error
(condition).
differing-enum-types
(condition).
field-name-clash
(condition).
make-dict
(function).
make-field-metadata
(function).
register-dictionary
(function).
register-reader
(function).
register-serializer
(function).
register-validator
(function).
resolve
(function).
set-dictionary
(function).
set-header
(function).
set-trailer
(function).
tag-value-clash
(condition).
validate-field
(function).
cl-fix-connector
conn
common-lisp
.
add-session
(generic function).
backpressure-error
(condition).
connector
(class).
connector-error
(condition).
connector-event
(class).
connector-state
(generic function).
enqueue-msg
(function).
event-data
(generic reader).
(setf event-data)
(generic writer).
event-raw-msg
(generic reader).
(setf event-raw-msg)
(generic writer).
event-source-session
(generic reader).
(setf event-source-session)
(generic writer).
event-timestamp
(generic reader).
(setf event-timestamp)
(generic writer).
event-type
(generic reader).
(setf event-type)
(generic writer).
find-session
(function).
get-sessions
(function).
publish-tick
(function).
retries-exhausted
(condition).
serialize-and-send
(function).
socket-read-error
(condition).
socket-write-error
(condition).
start-connector
(generic function).
stop-connector
(generic function).
%lookup-session-by-key
(function).
%make-default-fastbuffer
(function).
%session-key
(function).
%session-key-part
(function).
*event-timestamp*
(special variable).
cl-fix-message-store
store
common-lisp
.
close-store
(function).
file-store
(structure).
file-store-first-msg-position
(reader).
(setf file-store-first-msg-position)
(writer).
iterate
(function).
make-file-store
(function).
rebuild-index
(function).
store-msg
(function).
copy-file-store
(function).
file-store-msg-index
(reader).
(setf file-store-msg-index)
(writer).
file-store-p
(function).
file-store-stream
(reader).
(setf file-store-stream)
(writer).
cl-fix-initiator
common-lisp
.
initiator
(class).
%await-stop
(function).
%check-liveness
(function).
%check-ready
(function).
%check-stopped
(function).
%force-stop
(function).
%handle-backpressure
(function).
%init-sessions
(function).
%initiate-io
(function).
%io-ready
(function).
%io-stopped
(function).
%process-inbound-event
(function).
%process-outbound-event
(function).
%read-msgs-from-socket
(function).
%reset-initiator-state
(function).
%run-loop
(function).
%run-single-io-loop
(function).
%run-single-worker-loop
(function).
%shutdown-initiator
(function).
%start-initiator
(function).
%start-io
(function).
%start-worker
(function).
%worker-ready
(function).
%worker-stopped
(function).
*running-states*
(special variable).
destroy-thread
(function).
cl-fix-session
alexandria
.
common-lisp
.
*current-time*
(special variable).
close-stores
(generic function).
conn
(generic reader).
(setf conn)
(generic writer).
deftickhandler
(macro).
enqueue-msg
(function).
init-session
(generic function).
init-stores
(generic function).
on-connect
(generic function).
perform-resend
(function).
persist
(function).
persist-inbound-msg
(function).
persist-outbound-msg
(function).
read-state-from-store
(generic function).
reset-incoming-seq-num
(generic function).
reset-outgoing-seq-num
(generic function).
sender-comp-id
(generic reader).
(setf sender-comp-id)
(generic writer).
sender-sub-id
(generic reader).
(setf sender-sub-id)
(generic writer).
session
(class).
session-handler
(generic reader).
(setf session-handler)
(generic writer).
session-id
(generic reader).
session-status
(generic reader).
session-tick
(generic reader).
(setf session-tick)
(generic writer).
stop-session
(generic function).
stoppedp
(function).
target-comp-id
(generic reader).
(setf target-comp-id)
(generic writer).
target-sub-id
(generic reader).
(setf target-sub-id)
(generic writer).
validate-logon
(generic function).
%check-gap-fill-state
(function).
%check-liveness
(function).
%check-seq-num
(function).
%create-gap-fill-msg
(function).
%default-tick-fn
(function).
%determine-session-filename
(function).
%handle-gap-fill-msg
(function).
%handle-heartbeat
(function).
%handle-initial-logon
(function).
%handle-resend-request
(function).
%handle-seq-num-too-high
(function).
%handle-sequence-reset
(function).
%handle-test-request
(function).
%is-admin
(function).
%is-gap-fill-msg
(function).
%is-standard-sequence-reset
(function).
%make-heartbeat
(function).
%make-outbound-msg-store
(function).
%pre-send
(function).
%process-admin-msg
(function).
%process-queued-messages
(function).
%request-close-stores
(function).
%reset-seq-nums
(function).
%send-logon
(function).
%send-logout
(function).
%send-test-request
(function).
%session-handle-msg
(function).
%session-process-msg
(function).
%wrap-handler
(function).
*next-session-id*
(special variable).
*next-test-req-id*
(special variable).
send-on-invalid-session-status
(condition).
session-error
(condition).
cl-fix-util
util
common-lisp
.
destroy-thread
(function).
(setf fix-field)
(setf expander).
fix-field
(function).
fix-msg-type
(function).
getff
(function).
make-fix-msg
(function).
resolve-dict
(function).
cl-fix-serialization
cl-fix-rw
arrow-macros
.
common-lisp
.
read-fix-msg
(function).
serialize-fix-msg
(function).
%calc-checksum
(function).
%field-to-str
(function).
%get-data-field
(function).
%get-next-pair
(function).
%group-p
(function).
%group-to-str
(function).
%inner-push
(function).
%parse-fix-str-to-plist
(function).
%read-fix
(function).
%recurse-plist
(function).
%recursive-reverse
(function).
%unknown-tag
(function).
%validate-data-length
(function).
checksum-mismatch
(condition).
invalid-data-length
(condition).
serializer-error
(condition).
unknown-tag
(condition).
validate
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The current time in the FIX engine.
Define your own tick handler. Must return a truthy value to force the engine to do a persist after handling the tick (if required).
Signals to the data structure (and therefore the reader-thread) that data is available up to IDX.
Iterate through the messages in STORE for all messages with seq-nums [FROM-IDX TO-IDX).
MSG-FN should be a function accepting an array of ’CHARACTER
GAP-FN should be a function accepting 2 arguments, starting index of a gap, and the next-seq-no that will be sent.
Given a dictionary (DICT), a FIX message plist (MSG), return a list of VALIDATION-ERROR. Does NOT currently support traversal into repeating groups.
err
.
path
.
connector-event
)) ¶automatically generated reader method
data
.
connector-event
)) ¶automatically generated writer method
data
.
connector-event
)) ¶automatically generated reader method
connector-event
)) ¶automatically generated writer method
connector-event
)) ¶automatically generated reader method
connector-event
)) ¶automatically generated writer method
connector-event
)) ¶automatically generated reader method
connector-event
)) ¶automatically generated writer method
connector-event
)) ¶automatically generated reader method
type
.
connector-event
)) ¶automatically generated writer method
type
.
Stop the session. SEND-LOGOUT (default is t) will cause a LOGOUT to be sent to the client. LOGOUT-TEXT will populate the text field on that LOGOUT message (defaults to ’System-initiated logout.’)
Override for custom LOGON validation. Should return NIL for no error, or the error message to send on a LOGOUT.
connector
) &rest initargs &key &allow-other-keys) ¶session
) &rest initargs &key &allow-other-keys) ¶error
.
:msg
structure-object
.
(integer 0 9999)
(error "year must be specified")
(integer 1 12)
(error "month must be specified")
(integer 1 31)
(error "day must be specified")
structure-object
.
(integer 0 9999)
(error "year must be specified")
(integer 1 12)
(error "month must be specified")
(integer 0 31)
0
(integer 0 5)
0
structure-object
.
(integer 0 9999)
(error "year must be specified")
(integer 1 12)
(error "month must be specified")
(integer 1 31)
(error "day must be specified")
structure-object
.
(integer 0 23)
(error "hour must be specified")
(integer 0 59)
(error "minute must be specified")
common-lisp
.
(integer 0 60)
(error "second must be specified")
(integer -1 999)
-1
Initarg | Value |
---|---|
:fsm-name | acceptor |
:fsm-starting-state | init |
:fsm-transitions | (list (make-transition from-state init event start-requested to-state starting fn (function %start-acceptor)) (make-transition from-state starting event listener-started to-state starting fn (%signal-start (quote listener-state))) (make-transition from-state starting event client-io-started to-state starting fn (%signal-start (quote client-io-state))) (make-transition from-state starting event worker-started to-state starting fn (%signal-start (quote worker-state))) (make-transition from-state starting event stop-requested to-state stopping fn (function %check-stopped)) (make-transition from-state starting event all-started to-state running) (make-transition from-state running event stop-requested to-state stopping fn (function %check-stopped)) (make-transition from-state stopping event listener-stopped to-state stopping fn (%signal-stop (quote listener-state))) (make-transition from-state stopping event client-io-stopped to-state stopping fn (%signal-stop (quote client-io-state))) (make-transition from-state stopping event worker-stopped to-state stopping fn (%signal-stop (quote worker-state))) (make-transition from-state stopping event force-stop to-state stopping fn (function %force-stop)) (make-transition from-state stopping event all-stopped to-state stopped fn (function %reset-state)) (make-transition from-state stopped event start-requested to-state starting fn (function %start-acceptor))) |
0.2
(make-hash-table)
:stopped
:stopped
:stopped
(make-instance (quote fastbuffer:fb) :init-fn (lambda nil (make-instance (quote cl-fix-connector:connector-event))) :size 128)
Allows user to explicitly add client sockets, and run the IO/worker loop. Used for testing.
:single-threaded-mode
string
(error "must supply :host")
:host
(integer 0 65535)
(error "must supply :port")
:port
fastbuffer:fb
(cl-fix-connector::%make-default-fastbuffer)
fastbuffer:fb
(cl-fix-connector::%make-default-fastbuffer)
(error "must supply :dict-key (e.g. :fix44)")
:dict-key
:dict
:reader-fn
:serialize-fn
(make-hash-table :test (quote equal))
How often to publish a ’:tick’ event to each session object.
1000
:tick-resolution-ms
(error "must supply :name")
:fsm-name
(error "must supply :current-state")
:fsm-starting-state
:fsm-transitions
(bordeaux-threads:make-recursive-lock "fsm-state-lock")
This slot is read-only.
Initarg | Value |
---|---|
:fsm-name | initiator |
:fsm-starting-state | init |
:fsm-transitions | (list (make-transition from-state init event start-requested to-state starting fn (function %start-initiator)) (make-transition from-state starting event worker-ready to-state starting fn (function %worker-ready)) (make-transition from-state starting event io-ready to-state starting fn (function %io-ready)) (make-transition from-state starting event all-ready to-state running) (make-transition from-state starting event stop-requested to-state stopping) (make-transition from-state running event stop-requested to-state stopping) (make-transition from-state stopping event io-stopped to-state stopping fn (function %io-stopped)) (make-transition from-state stopping event worker-stopped to-state stopping fn (function %worker-stopped)) (make-transition from-state stopping event force-stop to-state stopping fn (function %force-stop)) (make-transition from-state stopping event all-stopped to-state stopped fn (function %reset-initiator-state)) (make-transition from-state stopped event start-requested to-state starting fn (function %start-initiator))) |
(lambda (cl-fix-initiator::conn) (declare (ignore cl-fix-initiator::conn)))
:on-connect-fn
Stops auto-connect to :host/:port and uses this stream for I/O.
common-lisp
.
:stream
(make-array 1024 :fill-pointer 0 :element-type (quote character))
(make-array 1024 :fill-pointer 0 :element-type (quote character))
:single-threaded-mode
add-session
.
(setf conn)
.
conn
.
init-session
.
init-stores
.
initialize-instance
.
on-connect
.
print-object
.
read-state-from-store
.
reset-incoming-seq-num
.
reset-outgoing-seq-num
.
(setf sender-comp-id)
.
sender-comp-id
.
(setf sender-sub-id)
.
sender-sub-id
.
(setf session-handler)
.
session-handler
.
session-id
.
session-status
.
(setf session-tick)
.
session-tick
.
stop-session
.
(setf target-comp-id)
.
target-comp-id
.
(setf target-sub-id)
.
target-sub-id
.
validate-logon
.
1
:exp-incoming-seq-num
1
:exp-outgoing-seq-num
(error "must supply :sender-comp-id")
:sender-comp-id
:sender-sub-id
(error "must supply :target-comp-id")
:target-comp-id
:target-sub-id
plist of extra fields to stamp on logon message.
:logon-fields
:session-store
(quote (:logon :heartbeat))
:gap-fill-msgs
(incf cl-fix-session::*next-session-id*)
This slot is read-only.
(error ":dict-key must be supplied.")
:dict-key
30000
:heartbeat-interval-ms
(error ":handler must be supplied.")
:handler
:reset-seq-num
(function cl-fix-session::%default-tick-fn)
:tick-handler
5000
:grace-period-ms
(member :init :awaiting-logon :started :awaiting-logout-response :stopped :gap-fill)
:init
This slot is read-only.
Messages with high seq-nums that are waiting to be processed.
fixnum
-1
Given a normalised field def F, return the field name.
For each session: (1) init-stores, and (2) read-state-from-store.
Is this field something that the user actually defines?
Normalises a field spec to a list.
(:one 1 :two 2) => ((1 . :one) (2 . :two))
Worker thread uses this fn to process inbound events from the connector. This includes inbound messages.
IO thread uses this fn to process outbound events from the worker thread.
Wraps the given user function with session-handling code.
day
.
year
.
day
.
year
.
Recursively expands all components to their field constituents.
day
.
year
.
hour
.
msg
.
error
.
:msg
error
.
:name
error
.
error
.
:tag
structure-object
.
common-lisp
.
(make-array 1024 :fill-pointer 0 :element-type (quote character))
(make-array 1024 :fill-pointer 0 :element-type (quote character))
structure-object
.
list
(error "path must be specified")
(member :missing-field :type :unknown-field)
(error "error code must be specified")
string
""
(error "must supply :event")
:event
(error "must supply :transition-fn")
:transition-fn
(error "must supply :from-state")
:from-state
(error "must supply :to-state")
:to-state
Jump to: | %
(
A B C D E F G I L M O P R S T U V |
---|
Jump to: | %
(
A B C D E F G I L M O P R S T U V |
---|
Jump to: | *
A C D E F G H I L M N O P Q R S T U V W Y |
---|
Jump to: | *
A C D E F G H I L M N O P Q R S T U V W Y |
---|
Jump to: | A B C D E F I L M N P Q R S T U V |
---|
Jump to: | A B C D E F I L M N P Q R S T U V |
---|