C# Class Animatroller.Framework.Expander.MonoExpanderBaseInstance

ファイルを表示 Open project: HakanL/animatroller

Protected Properties

Property Type Description
connectionId string
instanceId string
log Logger
name string
sendAction Action

Public Methods

Method Description
ClientConnected ( string connectionId ) : void
Handle ( FileChunkRequest message ) : void
Handle ( FileRequest message ) : void
Handle ( Ping message ) : void
HandleMessage ( string connectionId, Type messageType, object messageObject ) : void
MonoExpanderBaseInstance ( ) : System

Protected Methods

Method Description
SendMessage ( object message, string stateKey = null ) : void

Private Methods

Method Description
CalculateSignatureSha1 ( string fileName ) : byte[]
Initialize ( string expanderSharedFiles, string instanceId, Action sendAction ) : void

Method Details

ClientConnected() public method

public ClientConnected ( string connectionId ) : void
connectionId string
return void

Handle() public method

public Handle ( FileChunkRequest message ) : void
message Animatroller.Framework.MonoExpanderMessages.FileChunkRequest
return void

Handle() public method

public Handle ( FileRequest message ) : void
message Animatroller.Framework.MonoExpanderMessages.FileRequest
return void

Handle() public method

public Handle ( Ping message ) : void
message Ping
return void

HandleMessage() public method

public HandleMessage ( string connectionId, Type messageType, object messageObject ) : void
connectionId string
messageType System.Type
messageObject object
return void

MonoExpanderBaseInstance() public method

public MonoExpanderBaseInstance ( ) : System
return System

SendMessage() protected method

protected SendMessage ( object message, string stateKey = null ) : void
message object
stateKey string
return void

Property Details

connectionId protected_oe property

protected string connectionId
return string

instanceId protected_oe property

protected string instanceId
return string

log protected_oe static_oe property

protected static Logger log
return Logger

name protected_oe property

protected string name
return string

sendAction protected_oe property

protected Action sendAction
return Action