request

package
v0.0.0-...-c063610 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2015 License: Apache-2.0 Imports: 17 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL