C# Class ServerCommandDispatcherBase, tf_client

Inheritance: IServerCommandDispatcher
Mostra file Open project: wids-eria/tf_client

Protected Properties

Property Type Description
listeners Delegate>.Dictionary

Public Methods

Method Description
AddHandler ( int recipientId, Delegate handler ) : void
Dispatch ( ServerCommandCodec sc ) : void
RemoveHandler ( int recipientId, Delegate handler ) : void

Protected Methods

Method Description
Broadcast ( ServerCommandCodec sc ) : void
Send ( ServerCommandCodec sc ) : void

Method Details

AddHandler() public method

public AddHandler ( int recipientId, Delegate handler ) : void
recipientId int
handler Delegate
return void

Broadcast() protected abstract method

protected abstract Broadcast ( ServerCommandCodec sc ) : void
sc ServerCommandCodec
return void

Dispatch() public method

public Dispatch ( ServerCommandCodec sc ) : void
sc ServerCommandCodec
return void

RemoveHandler() public method

public RemoveHandler ( int recipientId, Delegate handler ) : void
recipientId int
handler Delegate
return void

Send() protected abstract method

protected abstract Send ( ServerCommandCodec sc ) : void
sc ServerCommandCodec
return void

Property Details

listeners protected_oe property

protected Dictionary listeners
return Delegate>.Dictionary