C# Class Ros_CSharp.TcpTransport

Show file Open project: uml-robotics/ROS.NET Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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

Method 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 method

public static ByteDump ( byte b ) : string
b byte
return string

ByteDumpCondensed() public static method

public static ByteDumpCondensed ( byte b ) : string
b byte
return string

TcpTransport() public method

public TcpTransport ( ) : System
return System

TcpTransport() public method

public TcpTransport ( PollSet pollset ) : System
pollset PollSet
return System

TcpTransport() public method

public TcpTransport ( PollSet pollset, int flags ) : System
pollset PollSet
flags int
return System

TcpTransport() public method

public TcpTransport ( System s, PollSet pollset ) : System
s System
pollset PollSet
return System

TcpTransport() public method

public TcpTransport ( System s, PollSet pollset, int flags ) : System
s System
pollset PollSet
flags int
return System

accept() public method

public accept ( ) : TcpTransport
return TcpTransport

close() public method

public close ( ) : void
return void

connect() public method

public connect ( string host, int port ) : bool
host string
port int
return bool

disableRead() public method

public disableRead ( ) : void
return void

disableWrite() public method

public disableWrite ( ) : void
return void

enableRead() public method

public enableRead ( ) : void
return void

enableWrite() public method

public enableWrite ( ) : void
return void

getRequiresHeader() public method

public getRequiresHeader ( ) : bool
return bool

listen() public method

public listen ( int port, int backlog, AcceptCallback accept_cb ) : bool
port int
backlog int
accept_cb AcceptCallback
return bool

parseHeader() public method

public parseHeader ( Header header ) : void
header Header
return void

read() public method

public read ( byte buffer, int pos, int length ) : int
buffer byte
pos int
length int
return int

setKeepAlive() public method

public setKeepAlive ( bool use, int idle, int interval, int count ) : void
use bool
idle int
interval int
count int
return void

setNoDelay() public method

public setNoDelay ( bool nd ) : void
nd bool
return void

setNonBlocking() public method

public setNonBlocking ( ) : bool
return bool

write() public method

public write ( byte buffer, int pos, int size ) : int
buffer byte
pos int
size int
return int

Property Details

LocalEndPoint public property

public IPEndPoint,System.Net LocalEndPoint
return System.Net.IPEndPoint

_topic public property

public string _topic
return string

cached_remote_host public property

public string cached_remote_host
return string

close_mutex public property

public object close_mutex
return object

closed public property

public bool closed
return bool

connected_host public property

public string connected_host
return string

connected_port public property

public int connected_port
return int

events public property

public int events
return int

expecting_read public property

public bool expecting_read
return bool

expecting_write public property

public bool expecting_write
return bool

flags public property

public int flags
return int

is_server public property

public bool is_server
return bool

no_delay public property

public bool no_delay
return bool

poll_set public property

public PollSet,Ros_CSharp poll_set
return PollSet

server_address public property

public IPEndPoint,System.Net server_address
return System.Net.IPEndPoint

server_port public property

public int server_port
return int

use_keepalive public static property

public static bool use_keepalive
return bool