ConnState

copy

instantiate

(Fn [(Ref ConnState a)] ConnState)

copies a ConnState.

delete

instantiate

(Fn [ConnState] ())

deletes a ConnState. Should usually not be called manually.

init

instantiate

(Fn [(Map Int TcpStream), (Map Int (Array Byte)), (Map Int (Array Byte)), (Map Int Int), (Map Int Bool), (Map Int Int), (Map Int Int), (Map Int Long), (Map Int Long), (Array Int), (Map Int Int), (Map Int (Map String String)), (Map Int (Array Byte)), (Map Int Int), (Map Int Int), (Map Int Int)] ConnState)

creates a ConnState.

keep-alives

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Bool) a))

gets the keep-alives property of a ConnState.

last-active

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Int) a))

gets the last-active property of a ConnState.

prn

instantiate

(Fn [(Ref ConnState a)] String)

converts a ConnState to a string.

read-bufs

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int (Array Byte)) a))

gets the read-bufs property of a ConnState.

set-keep-alives

instantiate

(Fn [ConnState, (Map Int Bool)] ConnState)

sets the keep-alives property of a ConnState.

set-keep-alives!

instantiate

(Fn [(Ref ConnState a), (Map Int Bool)] ())

sets the keep-alives property of a ConnState in place.

set-last-active

instantiate

(Fn [ConnState, (Map Int Int)] ConnState)

sets the last-active property of a ConnState.

set-last-active!

instantiate

(Fn [(Ref ConnState a), (Map Int Int)] ())

sets the last-active property of a ConnState in place.

set-read-bufs

instantiate

(Fn [ConnState, (Map Int (Array Byte))] ConnState)

sets the read-bufs property of a ConnState.

set-read-bufs!

instantiate

(Fn [(Ref ConnState a), (Map Int (Array Byte))] ())

sets the read-bufs property of a ConnState in place.

set-sf-fds

instantiate

(Fn [ConnState, (Map Int Int)] ConnState)

sets the sf-fds property of a ConnState.

set-sf-fds!

instantiate

(Fn [(Ref ConnState a), (Map Int Int)] ())

sets the sf-fds property of a ConnState in place.

set-sf-offsets

instantiate

(Fn [ConnState, (Map Int Long)] ConnState)

sets the sf-offsets property of a ConnState.

set-sf-offsets!

instantiate

(Fn [(Ref ConnState a), (Map Int Long)] ())

sets the sf-offsets property of a ConnState in place.

set-sf-sizes

instantiate

(Fn [ConnState, (Map Int Long)] ConnState)

sets the sf-sizes property of a ConnState.

set-sf-sizes!

instantiate

(Fn [(Ref ConnState a), (Map Int Long)] ())

sets the sf-sizes property of a ConnState in place.

set-streams

instantiate

(Fn [ConnState, (Map Int TcpStream)] ConnState)

sets the streams property of a ConnState.

set-streams!

instantiate

(Fn [(Ref ConnState a), (Map Int TcpStream)] ())

sets the streams property of a ConnState in place.

set-to-close

instantiate

(Fn [ConnState, (Array Int)] ConnState)

sets the to-close property of a ConnState.

set-to-close!

instantiate

(Fn [(Ref ConnState a), (Array Int)] ())

sets the to-close property of a ConnState in place.

set-write-bufs

instantiate

(Fn [ConnState, (Map Int (Array Byte))] ConnState)

sets the write-bufs property of a ConnState.

set-write-bufs!

instantiate

(Fn [(Ref ConnState a), (Map Int (Array Byte))] ())

sets the write-bufs property of a ConnState in place.

set-write-positions

instantiate

(Fn [ConnState, (Map Int Int)] ConnState)

sets the write-positions property of a ConnState.

set-write-positions!

instantiate

(Fn [(Ref ConnState a), (Map Int Int)] ())

sets the write-positions property of a ConnState in place.

set-ws-frag-bufs

instantiate

(Fn [ConnState, (Map Int (Array Byte))] ConnState)

sets the ws-frag-bufs property of a ConnState.

set-ws-frag-bufs!

instantiate

(Fn [(Ref ConnState a), (Map Int (Array Byte))] ())

sets the ws-frag-bufs property of a ConnState in place.

set-ws-frag-opcodes

instantiate

(Fn [ConnState, (Map Int Int)] ConnState)

sets the ws-frag-opcodes property of a ConnState.

set-ws-frag-opcodes!

instantiate

(Fn [(Ref ConnState a), (Map Int Int)] ())

sets the ws-frag-opcodes property of a ConnState in place.

set-ws-last-ping

instantiate

(Fn [ConnState, (Map Int Int)] ConnState)

sets the ws-last-ping property of a ConnState.

set-ws-last-ping!

instantiate

(Fn [(Ref ConnState a), (Map Int Int)] ())

sets the ws-last-ping property of a ConnState in place.

set-ws-params

instantiate

(Fn [ConnState, (Map Int (Map String String))] ConnState)

sets the ws-params property of a ConnState.

set-ws-params!

instantiate

(Fn [(Ref ConnState a), (Map Int (Map String String))] ())

sets the ws-params property of a ConnState in place.

set-ws-ping-count

instantiate

(Fn [ConnState, (Map Int Int)] ConnState)

sets the ws-ping-count property of a ConnState.

set-ws-ping-count!

instantiate

(Fn [(Ref ConnState a), (Map Int Int)] ())

sets the ws-ping-count property of a ConnState in place.

set-ws-route-idx

instantiate

(Fn [ConnState, (Map Int Int)] ConnState)

sets the ws-route-idx property of a ConnState.

set-ws-route-idx!

instantiate

(Fn [(Ref ConnState a), (Map Int Int)] ())

sets the ws-route-idx property of a ConnState in place.

sf-fds

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Int) a))

gets the sf-fds property of a ConnState.

sf-offsets

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Long) a))

gets the sf-offsets property of a ConnState.

sf-sizes

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Long) a))

gets the sf-sizes property of a ConnState.

str

instantiate

(Fn [(Ref ConnState a)] String)

converts a ConnState to a string.

streams

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int TcpStream) a))

gets the streams property of a ConnState.

to-close

instantiate

(Fn [(Ref ConnState a)] (Ref (Array Int) a))

gets the to-close property of a ConnState.

update-keep-alives

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Bool)] (Map Int Bool) a) b)] ConnState)

updates the keep-alives property of a ConnState using a function f.

update-last-active

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Int)] (Map Int Int) a) b)] ConnState)

updates the last-active property of a ConnState using a function f.

update-read-bufs

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int (Array Byte))] (Map Int (Array Byte)) a) b)] ConnState)

updates the read-bufs property of a ConnState using a function f.

update-sf-fds

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Int)] (Map Int Int) a) b)] ConnState)

updates the sf-fds property of a ConnState using a function f.

update-sf-offsets

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Long)] (Map Int Long) a) b)] ConnState)

updates the sf-offsets property of a ConnState using a function f.

update-sf-sizes

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Long)] (Map Int Long) a) b)] ConnState)

updates the sf-sizes property of a ConnState using a function f.

update-streams

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int TcpStream)] (Map Int TcpStream) a) b)] ConnState)

updates the streams property of a ConnState using a function f.

update-to-close

instantiate

(Fn [ConnState, (Ref (Fn [(Array Int)] (Array Int) a) b)] ConnState)

updates the to-close property of a ConnState using a function f.

update-write-bufs

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int (Array Byte))] (Map Int (Array Byte)) a) b)] ConnState)

updates the write-bufs property of a ConnState using a function f.

update-write-positions

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Int)] (Map Int Int) a) b)] ConnState)

updates the write-positions property of a ConnState using a function f.

update-ws-frag-bufs

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int (Array Byte))] (Map Int (Array Byte)) a) b)] ConnState)

updates the ws-frag-bufs property of a ConnState using a function f.

update-ws-frag-opcodes

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Int)] (Map Int Int) a) b)] ConnState)

updates the ws-frag-opcodes property of a ConnState using a function f.

update-ws-last-ping

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Int)] (Map Int Int) a) b)] ConnState)

updates the ws-last-ping property of a ConnState using a function f.

update-ws-params

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int (Map String String))] (Map Int (Map String String)) a) b)] ConnState)

updates the ws-params property of a ConnState using a function f.

update-ws-ping-count

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Int)] (Map Int Int) a) b)] ConnState)

updates the ws-ping-count property of a ConnState using a function f.

update-ws-route-idx

instantiate

(Fn [ConnState, (Ref (Fn [(Map Int Int)] (Map Int Int) a) b)] ConnState)

updates the ws-route-idx property of a ConnState using a function f.

write-bufs

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int (Array Byte)) a))

gets the write-bufs property of a ConnState.

write-positions

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Int) a))

gets the write-positions property of a ConnState.

ws-frag-bufs

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int (Array Byte)) a))

gets the ws-frag-bufs property of a ConnState.

ws-frag-opcodes

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Int) a))

gets the ws-frag-opcodes property of a ConnState.

ws-last-ping

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Int) a))

gets the ws-last-ping property of a ConnState.

ws-params

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int (Map String String)) a))

gets the ws-params property of a ConnState.

ws-ping-count

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Int) a))

gets the ws-ping-count property of a ConnState.

ws-route-idx

instantiate

(Fn [(Ref ConnState a)] (Ref (Map Int Int) a))

gets the ws-route-idx property of a ConnState.