|  | 
| 
 Public Types | 
| enum | StreamFlags { write =  0x1, 
read =  0x2, 
rw =  0x3, 
ascii =  0x4,
 ascii_w =  0x5, 
ascii_r =  0x6, 
ascii_rw =  0x7
 }
 | 
| 
 Public Methods | 
|  | NetStream (int port, const char *name) | 
|  | NetStream (int fd, struct sockaddr_in *client, bool block=false) | 
| NetStream & | operator= (const NetStream &) | 
| virtual | ~NetStream () | 
| str_ptr | name (void) const | 
| str_ptr | print_name (void) const | 
| int | port (void) const | 
| int | processing (void) const | 
| Network * | network (void) const | 
| void | subscribe (Cstr_ptr &t) | 
| void | subscribe (Cstr_list &t) | 
| void | set_port (int p) | 
| void | add_network (Network *n) | 
| virtual void | flush_data (void) | 
| int | read_stuff (void) | 
| virtual void | sample () | 
| void | no_tcp_delay () | 
| void | flush () | 
| ostream * | ostr () | 
| istream * | istr () | 
| 
 Static Public Methods | 
| void | no_linger (int fd) | 
| NetStream * | ostream_to_NetStream (ostream *os) | 
| 
 Protected Methods | 
| void | set_blocking (bool val) const | 
| ssize_t | write_to_net (const void *buf, size_t nbyte) const | 
| ssize_t | read_from_net (void *buf, size_t nbyte) const | 
| int | interpret (void) | 
| void | remove_me () | 
| void | init_streams (bool readable, bool writeable) | 
| 
 Protected Attributes | 
| ostrstream * | _ostr | 
| istream * | _istr | 
| STDmem_queue | _in_queue | 
| ARRAY< char > | _charbuf | 
| 
 Friends | 
| class | Network |