Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReqHandler ¶
type ReqHandler struct { marshaling.MarshalUnmarshaler // contains filtered or unexported fields }
ReqHandler is an instance of the request state machine for handling client requests.
func NewReqHandler ¶
func NewReqHandler(m marshaling.MarshalUnmarshaler, mcdir string) *ReqHandler
NewReqHandler creates a new ReqHandlerInstance. Each ReqHandler is a thread safe state machine for handling client requests.
func (*ReqHandler) Run ¶
func (h *ReqHandler) Run()
Run run the ReqHandler state machine. It also performs any needed cleanup when the state machine finishes. The state machine accepts and processes request according to the mcfs.protocol package.
Click to show internal directories.
Click to hide internal directories.