Lolly 1.4.27
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
_channel Struct Reference
Collaboration diagram for _channel:
Collaboration graph
[legend]

Public Member Functions

 _channel ()
 
void _init_in (int fd2, string data2, int chunk_size)
 
void _init_out (int fd2, int buffer_size2)
 

Public Attributes

int fd
 
_ts_string data
 
int buffer_size
 
array< charbuffer
 
int status
 

Detailed Description

Definition at line 118 of file unix_sys_utils.cpp.

Constructor & Destructor Documentation

◆ _channel()

_channel::_channel ( )
inline

Definition at line 124 of file unix_sys_utils.cpp.

124: status (0) {}

Member Function Documentation

◆ _init_in()

void _channel::_init_in ( int fd2,
string data2,
int chunk_size )
inline

Definition at line 125 of file unix_sys_utils.cpp.

125 {
126 fd= fd2;
127 data.copy (&data2[0], N (data2));
129 }
int N(array< T > a)
Get the length of the array.
Definition array.hpp:170
The list class represents a linked list.
Definition list.hpp:48
_ts_string data
void copy(char *b, int m)

◆ _init_out()

void _channel::_init_out ( int fd2,
int buffer_size2 )
inline

Definition at line 130 of file unix_sys_utils.cpp.

130 {
131 fd = fd2;
134 }
array< char > buffer

Member Data Documentation

◆ fd

int _channel::fd

Definition at line 119 of file unix_sys_utils.cpp.

◆ data

_ts_string _channel::data

Definition at line 120 of file unix_sys_utils.cpp.

◆ buffer_size

int _channel::buffer_size

Definition at line 121 of file unix_sys_utils.cpp.

◆ buffer

array<char> _channel::buffer

Definition at line 122 of file unix_sys_utils.cpp.

◆ status

int _channel::status

Definition at line 123 of file unix_sys_utils.cpp.


The documentation for this struct was generated from the following file: