C# Class ServerCommandDecoderBase, tf_client

Show file Open project: wids-eria/tf_client

Protected Properties

Property Type Description
codecs ServerCommandCodec>.Dictionary
dispatchers IServerCommandDispatcher>.Dictionary
encoder ASCIIEncoding

Public Methods

Method Description
AddCodec ( ServerCommandCodec codec ) : void
AllocateDispatcher ( ) : IServerCommandDispatcher
FindDispatcher ( string name ) : IServerCommandDispatcher
OnReceive ( byte data ) : void

Method Details

AddCodec() public method

public AddCodec ( ServerCommandCodec codec ) : void
codec ServerCommandCodec
return void

AllocateDispatcher() public abstract method

public abstract AllocateDispatcher ( ) : IServerCommandDispatcher
return IServerCommandDispatcher

FindDispatcher() public method

public FindDispatcher ( string name ) : IServerCommandDispatcher
name string
return IServerCommandDispatcher

OnReceive() public method

public OnReceive ( byte data ) : void
data byte
return void

Property Details

codecs protected property

protected Dictionary codecs
return ServerCommandCodec>.Dictionary

dispatchers protected property

protected Dictionary dispatchers
return IServerCommandDispatcher>.Dictionary

encoder protected property

protected ASCIIEncoding encoder
return ASCIIEncoding