Common Lisp Package: LFARM-COMMON.DATA-TRANSPORT

README:

GENERIC-FUNCTION

Public

INITIALIZE-CLIENT-STREAM (AUTH STREAM SERVER-NAME)

Initialize a client-side stream connected to server named `server-name'. Return a new stream or the same stream.

INITIALIZE-SERVER-STREAM (AUTH STREAM)

Initialize a server-side stream. Return a new stream or the same stream.

RECEIVE-BUFFER (AUTH STREAM)

Receive a (unsigned-byte 8) vector from a stream.

SEND-BUFFER (AUTH BUFFER STREAM)

Send a (unsigned-byte 8) vector over a stream.

STREAM-CLOSE (AUTH STREAM)

Callback for when the stream is closed.

CONDITION

Public

AUTH-ERROR

Raise this error or a subclass thereof when auth fails.