C# Class Service.Manager.ServiceManager

Inheritance: IProperties, IChannelPipe
Show file Open project: shlee322/Netronics Class Usage Examples

Public Methods

Method Description
CreateChannel ( Netronics netronics, Socket socket ) : IChannel
GetChannelPipe ( ) : IChannelPipe
GetIPEndPoint ( ) : IPEndPoint
JoinService ( IChannel channel, string name, int id, Newtonsoft.Json.Linq.JArray address, int port ) : void
Load ( string path ) : void
OnStartEvent ( Netronics netronics, StartEventArgs eventArgs ) : void
OnStopEvent ( Netronics netronics, EventArgs eventArgs ) : void
ServiceManager ( string path ) : System

Private Methods

Method Description
AddService ( IChannel channel, Services services, int id, Newtonsoft.Json.Linq.JArray address, int port ) : void
GetServices ( string name ) : Services
Processing ( ) : void

Method Details

CreateChannel() public method

public CreateChannel ( Netronics netronics, Socket socket ) : IChannel
netronics Netronics
socket Socket
return IChannel

GetChannelPipe() public method

public GetChannelPipe ( ) : IChannelPipe
return IChannelPipe

GetIPEndPoint() public method

public GetIPEndPoint ( ) : IPEndPoint
return System.Net.IPEndPoint

JoinService() public method

public JoinService ( IChannel channel, string name, int id, Newtonsoft.Json.Linq.JArray address, int port ) : void
channel IChannel
name string
id int
address Newtonsoft.Json.Linq.JArray
port int
return void

Load() public static method

public static Load ( string path ) : void
path string
return void

OnStartEvent() public method

public OnStartEvent ( Netronics netronics, StartEventArgs eventArgs ) : void
netronics Netronics
eventArgs Netronics.Event.StartEventArgs
return void

OnStopEvent() public method

public OnStopEvent ( Netronics netronics, EventArgs eventArgs ) : void
netronics Netronics
eventArgs System.EventArgs
return void

ServiceManager() public method

public ServiceManager ( string path ) : System
path string
return System