refactor_conns.txt

grendel-1.0.0a7/documentation/todo/refactor_conns.txt · 416 B

From the archive grendel-1.0.0a7.zip

Download the archive   « Back to the archive contents

base level:
	GSocket - pure socket functions
		connect/send/receive
		knows nothing about connections, completely stateless

middle level:
	GConnection - connection state
		iac/compression/etc.
		knows nothing about the game, fires events (connect/input/disconnect)

top level:
	GPlayerConnection - input parser (GConnection derivative)
		game/player state, nanny
		responds to events from GConnection

Site Stats

Snippets: 1791
Codebases: 571