C# Class Ros_CSharp.Connection

Afficher le fichier Open project: uml-robotics/ROS.NET Class Usage Examples

Méthodes publiques

Свойство Type Description
RemoteString string
drop_mutex object
dropped bool
header Header
header_func HeaderReceivedFunc
header_written_callback WriteFinishedFunc
is_server bool
read_buffer byte[]
read_callback ReadFinishedFunc
read_filled int
read_size int
sendingHeaderError bool
transport TcpTransport
write_buffer byte[]
write_callback WriteFinishedFunc
write_callback_mutex object
write_sent int

Méthodes publiques

Méthode Description
drop ( DropReason reason ) : void
initialize ( TcpTransport trans, bool is_server, HeaderReceivedFunc header_func ) : void
read ( int size, ReadFinishedFunc finished_func ) : void
sendHeaderError ( string &error_message ) : void
setHeaderReceivedCallback ( HeaderReceivedFunc func ) : void
write ( byte data, int size, WriteFinishedFunc finished_func ) : void
write ( byte data, int size, WriteFinishedFunc finished_func, bool immediate ) : void
writeHeader ( IDictionary key_vals, WriteFinishedFunc finished_func ) : void

Private Methods

Méthode Description
onDisconnect ( TcpTransport trans ) : void
onErrorHeaderWritten ( Connection conn ) : bool
onHeaderLengthRead ( Connection conn, byte data, int size, bool success ) : bool
onHeaderRead ( Connection conn, byte data, int size, bool success ) : bool
onHeaderWritten ( Connection conn ) : bool
onReadable ( TcpTransport trans ) : void
onWriteable ( TcpTransport trans ) : void
readTransport ( ) : void
readTransportComplete ( IAsyncResult iar ) : void
writeTransport ( ) : void

Method Details

drop() public méthode

public drop ( DropReason reason ) : void
reason DropReason
Résultat void

initialize() public méthode

public initialize ( TcpTransport trans, bool is_server, HeaderReceivedFunc header_func ) : void
trans TcpTransport
is_server bool
header_func HeaderReceivedFunc
Résultat void

read() public méthode

public read ( int size, ReadFinishedFunc finished_func ) : void
size int
finished_func ReadFinishedFunc
Résultat void

sendHeaderError() public méthode

public sendHeaderError ( string &error_message ) : void
error_message string
Résultat void

setHeaderReceivedCallback() public méthode

public setHeaderReceivedCallback ( HeaderReceivedFunc func ) : void
func HeaderReceivedFunc
Résultat void

write() public méthode

public write ( byte data, int size, WriteFinishedFunc finished_func ) : void
data byte
size int
finished_func WriteFinishedFunc
Résultat void

write() public méthode

public write ( byte data, int size, WriteFinishedFunc finished_func, bool immediate ) : void
data byte
size int
finished_func WriteFinishedFunc
immediate bool
Résultat void

writeHeader() public méthode

public writeHeader ( IDictionary key_vals, WriteFinishedFunc finished_func ) : void
key_vals IDictionary
finished_func WriteFinishedFunc
Résultat void

Property Details

RemoteString public_oe property

public string RemoteString
Résultat string

drop_mutex public_oe property

public object drop_mutex
Résultat object

dropped public_oe property

public bool dropped
Résultat bool

header public_oe property

public Header,Ros_CSharp header
Résultat Header

header_func public_oe property

public HeaderReceivedFunc header_func
Résultat HeaderReceivedFunc

header_written_callback public_oe property

public WriteFinishedFunc header_written_callback
Résultat WriteFinishedFunc

is_server public_oe property

public bool is_server
Résultat bool

read_buffer public_oe property

public byte[] read_buffer
Résultat byte[]

read_callback public_oe property

public ReadFinishedFunc read_callback
Résultat ReadFinishedFunc

read_filled public_oe property

public int read_filled
Résultat int

read_size public_oe property

public int read_size
Résultat int

sendingHeaderError public_oe property

public bool sendingHeaderError
Résultat bool

transport public_oe property

public TcpTransport,Ros_CSharp transport
Résultat TcpTransport

write_buffer public_oe property

public byte[] write_buffer
Résultat byte[]

write_callback public_oe property

public WriteFinishedFunc write_callback
Résultat WriteFinishedFunc

write_callback_mutex public_oe property

public object write_callback_mutex
Résultat object

write_sent public_oe property

public int write_sent
Résultat int