-
Notifications
You must be signed in to change notification settings - Fork 80
Nrepl.next: Glossary
kotarak edited this page Dec 16, 2011
·
2 revisions
- message id: Mandatory. Provided by client. Used by server for “Evaluation finished” message.
- session id: Optional. Provided by server. Used by client to send messages to a retained repl session.
- connection: A channel through which the client talks to the server. A connection does not impose any restriction or imply anything about the evaluation environment.
- message: A message is an atomic sequence of commands sent to the server for evaluation. It may be evaluated in a one shot environment or – if specified – in a retained repl session. Messages are processed asynchronously by the server, that means while a message is processed further messages are accepted by the server.
- session: A persistent evaluation environment which may be referenced in the messages from the client. It persists the state of the environment between client messages. Sessions also outlive connections. So a client may reconnect (even by a different transport system if supported by the server) and still send messages to the session. Session are terminated explicitly on client request. Sending messages concurrently to the same session processes them in order of arrival.
- transient session: Similar to a session. Provides the same evaluation environment, but is discarded after the contents of a message are evaluated.