Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

net_t Class Reference

#import <net_t.h>

Inheritance diagram for net_t:

Object List of all members.

Public Member Functions

(id) init
(id) free
(char *) read_message
(void) sendmsg::

Static Public Member Functions

(id) init_with_values:

Public Attributes

int sock
appbus_tbus

Detailed Description

here is class for net access.


Member Function Documentation

- (id) free  
 

frees allocated memory

- (id) init  
 

default initializer

+ (id) init_with_values: (appbus_t *)  aBus  
 

the "allocator" usually used is here

Parameters:
aBus is appbus pointer
Returns:
an id

- (char *) read_message  
 

method that reads input that should be there. returns the msg or NULL.

Returns:
content of received message

- (void) sendmsg: (char *)  message
: (wchar_t *)  recipient_addr
 
 

method for sending a message to one recipient.

Parameters:
message content of the message, UTF-8 preferred
recipient_addr network addr of the recipient, like host:port
Returns:
none


The documentation for this class was generated from the following file:
Generated on Sun May 15 23:45:24 2005 for kort4 by  doxygen 1.4.2