C# Class Queue.Services.Server.StandardServerService

Inheritance: Queue.Services.Common.DependencyService
Show file Open project: breslavsky/queue

Protected Properties

Property Type Description
channel IContextChannel
currentUser Queue.Model.User
logger Logger
sessionId System.Guid

Private Properties

Property Type Description
channel_Closing void
channel_Faulted void

Public Methods

Method Description
Echo ( string message ) : Task
Heartbeat ( ) : System.Threading.Tasks.Task
StandardServerService ( ) : Junte.Data.NHibernate

Protected Methods

Method Description
CheckPermission ( UserRole role, Enum permissions = null ) : void

Private Methods

Method Description
channel_Closing ( object sender, EventArgs e ) : void
channel_Faulted ( object sender, EventArgs e ) : void

Method Details

CheckPermission() protected method

protected CheckPermission ( UserRole role, Enum permissions = null ) : void
role UserRole
permissions System.Enum
return void

Echo() public method

public Echo ( string message ) : Task
message string
return Task

Heartbeat() public method

public Heartbeat ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StandardServerService() public method

public StandardServerService ( ) : Junte.Data.NHibernate
return Junte.Data.NHibernate

Property Details

channel protected property

protected IContextChannel channel
return IContextChannel

currentUser protected property

protected User,Queue.Model currentUser
return Queue.Model.User

logger protected property

protected Logger logger
return Logger

sessionId protected property

protected Guid,System sessionId
return System.Guid