C# Class OpenMetaverse.Voice.TCPPipe

Show file Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Protected Properties

Property Type Description
_Buffer string
_Callback AsyncCallback
_Result IAsyncResult
_TCPSocket Socket

Public Methods

Method Description
Connect ( string address, int port ) : SocketException
Disconnect ( ) : void
SendData ( byte data ) : void
SendLine ( string message ) : void
TCPPipe ( ) : System

Protected Methods

Method Description
OnDataReceived ( IAsyncResult asyn ) : void
ReceiveData ( string data ) : void
WaitForData ( ) : void

Method Details

Connect() public method

public Connect ( string address, int port ) : SocketException
address string
port int
return System.Net.Sockets.SocketException

Disconnect() public method

public Disconnect ( ) : void
return void

OnDataReceived() protected method

protected OnDataReceived ( IAsyncResult asyn ) : void
asyn IAsyncResult
return void

ReceiveData() protected method

protected ReceiveData ( string data ) : void
data string
return void

SendData() public method

public SendData ( byte data ) : void
data byte
return void

SendLine() public method

public SendLine ( string message ) : void
message string
return void

TCPPipe() public method

public TCPPipe ( ) : System
return System

WaitForData() protected method

protected WaitForData ( ) : void
return void

Property Details

_Buffer protected property

protected string _Buffer
return string

_Callback protected property

protected AsyncCallback _Callback
return AsyncCallback

_Result protected property

protected IAsyncResult _Result
return IAsyncResult

_TCPSocket protected property

protected Socket _TCPSocket
return Socket