C# Class NHapiSampleApplication.Tcp.TcpListenerHelper

Show file Open project: JohnBloom/NHapiSampleApplication

Public Methods

Method Description
ListenOnThread ( string ipAddress, int port ) : void
OnNotify ( string message, NotifyType type ) : void
Stop ( ) : void

Private Methods

Method Description
DoWork ( object sender, DoWorkEventArgs e ) : void
Listen ( ) : void
Worker_Disposed ( object sender, EventArgs e ) : void

Method Details

ListenOnThread() public method

public ListenOnThread ( string ipAddress, int port ) : void
ipAddress string
port int
return void

OnNotify() public method

public OnNotify ( string message, NotifyType type ) : void
message string
type NotifyType
return void

Stop() public method

public Stop ( ) : void
return void