C# Class StoryTeller.Remotes.SocketConnection

Inheritance: IDisposable, ISocketConnection
显示文件 Open project: storyteller/Storyteller Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
SendMessage ( string json ) : void
SocketConnection ( int port, bool owner, string>.Action onReceived ) : System
startReceiving ( bool owner ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

SendMessage() public method

public SendMessage ( string json ) : void
json string
return void

SocketConnection() public method

public SocketConnection ( int port, bool owner, string>.Action onReceived ) : System
port int
owner bool
onReceived string>.Action
return System

startReceiving() public method

public startReceiving ( bool owner ) : void
owner bool
return void