C# Class Ros_CSharp.TcpTransport

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

Méthodes publiques

Свойство Type Description
LocalEndPoint System.Net.IPEndPoint
_topic string
cached_remote_host string
close_mutex object
closed bool
connected_host string
connected_port int
events int
expecting_read bool
expecting_write bool
flags int
is_server bool
no_delay bool
poll_set PollSet
server_address System.Net.IPEndPoint
server_port int
use_keepalive bool

Méthodes publiques

Méthode Description
ByteDump ( byte b ) : string
ByteDumpCondensed ( byte b ) : string
TcpTransport ( ) : System
TcpTransport ( PollSet pollset ) : System
TcpTransport ( PollSet pollset, int flags ) : System
TcpTransport ( System s, PollSet pollset ) : System
TcpTransport ( System s, PollSet pollset, int flags ) : System
accept ( ) : TcpTransport
close ( ) : void
connect ( string host, int port ) : bool
disableRead ( ) : void
disableWrite ( ) : void
enableRead ( ) : void
enableWrite ( ) : void
getRequiresHeader ( ) : bool
listen ( int port, int backlog, AcceptCallback accept_cb ) : bool
parseHeader ( Header header ) : void
read ( byte buffer, int pos, int length ) : int
setKeepAlive ( bool use, int idle, int interval, int count ) : void
setNoDelay ( bool nd ) : void
setNonBlocking ( ) : bool
write ( byte buffer, int pos, int size ) : int

Private Methods

Méthode Description
ToString ( ) : string
initializeSocket ( ) : bool
setKeepAlive ( Ros_CSharp.CustomSocket.Socket sock, ulong time, ulong interval ) : bool
setKeepAlive ( Ros_CSharp.CustomSocket.Socket sock, ulong time, ulong interval, ulong count ) : bool
setSocket ( Ros_CSharp.CustomSocket.Socket s ) : bool
socketUpdate ( int events ) : void

Method Details

ByteDump() public static méthode

public static ByteDump ( byte b ) : string
b byte
Résultat string

ByteDumpCondensed() public static méthode

public static ByteDumpCondensed ( byte b ) : string
b byte
Résultat string

TcpTransport() public méthode

public TcpTransport ( ) : System
Résultat System

TcpTransport() public méthode

public TcpTransport ( PollSet pollset ) : System
pollset PollSet
Résultat System

TcpTransport() public méthode

public TcpTransport ( PollSet pollset, int flags ) : System
pollset PollSet
flags int
Résultat System

TcpTransport() public méthode

public TcpTransport ( System s, PollSet pollset ) : System
s System
pollset PollSet
Résultat System

TcpTransport() public méthode

public TcpTransport ( System s, PollSet pollset, int flags ) : System
s System
pollset PollSet
flags int
Résultat System

accept() public méthode

public accept ( ) : TcpTransport
Résultat TcpTransport

close() public méthode

public close ( ) : void
Résultat void

connect() public méthode

public connect ( string host, int port ) : bool
host string
port int
Résultat bool

disableRead() public méthode

public disableRead ( ) : void
Résultat void

disableWrite() public méthode

public disableWrite ( ) : void
Résultat void

enableRead() public méthode

public enableRead ( ) : void
Résultat void

enableWrite() public méthode

public enableWrite ( ) : void
Résultat void

getRequiresHeader() public méthode

public getRequiresHeader ( ) : bool
Résultat bool

listen() public méthode

public listen ( int port, int backlog, AcceptCallback accept_cb ) : bool
port int
backlog int
accept_cb AcceptCallback
Résultat bool

parseHeader() public méthode

public parseHeader ( Header header ) : void
header Header
Résultat void

read() public méthode

public read ( byte buffer, int pos, int length ) : int
buffer byte
pos int
length int
Résultat int

setKeepAlive() public méthode

public setKeepAlive ( bool use, int idle, int interval, int count ) : void
use bool
idle int
interval int
count int
Résultat void

setNoDelay() public méthode

public setNoDelay ( bool nd ) : void
nd bool
Résultat void

setNonBlocking() public méthode

public setNonBlocking ( ) : bool
Résultat bool

write() public méthode

public write ( byte buffer, int pos, int size ) : int
buffer byte
pos int
size int
Résultat int

Property Details

LocalEndPoint public_oe property

public IPEndPoint,System.Net LocalEndPoint
Résultat System.Net.IPEndPoint

_topic public_oe property

public string _topic
Résultat string

cached_remote_host public_oe property

public string cached_remote_host
Résultat string

close_mutex public_oe property

public object close_mutex
Résultat object

closed public_oe property

public bool closed
Résultat bool

connected_host public_oe property

public string connected_host
Résultat string

connected_port public_oe property

public int connected_port
Résultat int

events public_oe property

public int events
Résultat int

expecting_read public_oe property

public bool expecting_read
Résultat bool

expecting_write public_oe property

public bool expecting_write
Résultat bool

flags public_oe property

public int flags
Résultat int

is_server public_oe property

public bool is_server
Résultat bool

no_delay public_oe property

public bool no_delay
Résultat bool

poll_set public_oe property

public PollSet,Ros_CSharp poll_set
Résultat PollSet

server_address public_oe property

public IPEndPoint,System.Net server_address
Résultat System.Net.IPEndPoint

server_port public_oe property

public int server_port
Résultat int

use_keepalive public_oe static_oe property

public static bool use_keepalive
Résultat bool