const ( // The default address for internal messaging to this DVID server DefaultAddress = "localhost:8002" )
RegisterSessionMaker allows any package to register a function to create a new session handler given a designated message type.
Shutdown halts all RPC servers.
StartServer starts an RPC server.
StopServer halts the given server.
Caller is a function that meets the rpc Call signature.
MessageID should be a unique string across the DVID code base. By convention, the package name should be prefixed to the type of session being performed, e.g., "datastore.Push"
NewSessionHandlerFunc is a function that creates new session handlers
Session provides ability to send data to remote DVID using multiple RPCs.
NewSession returns a new session to the remote address where the type of session is reflected by the MessageID.
StartJob marks the start of a sequence of calls that may be handled concurrently. A session will wait for StopJob() before allowing proceeding with any closing of the session.
SessionHandler has a state, processes incoming messages via a finite state machine, and knows how to terminate itself upon receiving a termination message, calling the rpc package EndSession.
SessionID uniquely identifies a rpc session.
Transmit describes how data is being transferred from DVID-to-DVID.