Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_OS_TLI Class Reference

This class is a wrapper for the TLI operations. More...

#include <OS_TLI.h>

Inheritance diagram for ACE_OS_TLI:

Inheritance graph
[legend]
List of all members.

Static Public Methods

int t_accept (ACE_HANDLE fildes, ACE_HANDLE resfd, struct t_call *call)
char * t_alloc (ACE_HANDLE fildes, int struct_type, int fields)
int t_bind (ACE_HANDLE fildes, struct t_bind *req, struct t_bind *ret)
int t_close (ACE_HANDLE fildes)
int t_connect (ACE_HANDLE fildes, struct t_call *sndcall, struct t_call *rcvcall)
void t_error (const char *errmsg)
int t_free (char *ptr, int struct_type)
int t_getinfo (ACE_HANDLE fildes, struct t_info *info)
int t_getname (ACE_HANDLE fildes, struct netbuf *namep, int type)
int t_getstate (ACE_HANDLE fildes)
int t_listen (ACE_HANDLE fildes, struct t_call *call)
int t_look (ACE_HANDLE fildes)
ACE_HANDLE t_open (char *path, int oflag, struct t_info *info)
int t_optmgmt (ACE_HANDLE fildes, struct t_optmgmt *req, struct t_optmgmt *ret)
int t_rcv (ACE_HANDLE fildes, char *buf, unsigned int nbytes, int *flags)
int t_rcvdis (ACE_HANDLE fildes, struct t_discon *discon)
int t_rcvrel (ACE_HANDLE fildes)
int t_rcvudata (ACE_HANDLE fildes, struct t_unitdata *unitdata, int *flags)
int t_rcvuderr (ACE_HANDLE fildes, struct t_uderr *uderr)
int t_snd (ACE_HANDLE fildes, const char *buf, unsigned int nbytes, int flags)
int t_snddis (ACE_HANDLE fildes, struct t_call *call)
int t_sndrel (ACE_HANDLE fildes)
int t_sync (ACE_HANDLE fildes)
int t_unbind (ACE_HANDLE fildes)

Detailed Description

This class is a wrapper for the TLI operations.

Definition at line 127 of file OS_TLI.h.


Member Function Documentation

ACE_INLINE int ACE_OS_TLI::t_accept ACE_HANDLE    fildes,
ACE_HANDLE    resfd,
struct t_call *    call
[static]
 

Definition at line 5 of file OS_TLI.inl.

References t_accept.

Referenced by ACE_TLI_Acceptor::accept, and t_accept.

00008 {
00009 #if defined (ACE_HAS_TLI)
00010   ACE_OSCALL_RETURN (::t_accept (handle, reshandle, call), int, -1);
00011 #else
00012   ACE_UNUSED_ARG (call);
00013   ACE_UNUSED_ARG (reshandle);
00014   ACE_UNUSED_ARG (handle);
00015 
00016   ACE_NOTSUP_RETURN (-1);
00017 #endif /* ACE_HAS_TLI */
00018 }

ACE_INLINE char * ACE_OS_TLI::t_alloc ACE_HANDLE    fildes,
int    struct_type,
int    fields
[static]
 

Definition at line 21 of file OS_TLI.inl.

References t_alloc.

Referenced by ACE_TLI_Request_Queue::open, and t_alloc.

00023 {
00024 #if defined (ACE_HAS_TLI)
00025   ACE_OSCALL_RETURN (::t_alloc (handle, struct_type, fields),
00026                      char *, 0);
00027 #else
00028   ACE_UNUSED_ARG (fields);
00029   ACE_UNUSED_ARG (struct_type);
00030   ACE_UNUSED_ARG (handle);
00031 
00032   ACE_NOTSUP_RETURN (0);
00033 #endif /* ACE_HAS_TLI */
00034 }

ACE_INLINE int ACE_OS_TLI::t_bind ACE_HANDLE    fildes,
struct t_bind *    req,
struct t_bind *    ret
[static]
 

Definition at line 37 of file OS_TLI.inl.

References t_bind, and t_bind.

Referenced by ACE_TLI_Connector::connect, ACE_TLI_Acceptor::open, open_new_endpoint, and t_bind.

00039 {
00040 #if defined (ACE_HAS_TLI)
00041   ACE_OSCALL_RETURN (::t_bind (handle, req, ret), int, -1);
00042 #else
00043   ACE_UNUSED_ARG (ret);
00044   ACE_UNUSED_ARG (req);
00045   ACE_UNUSED_ARG (handle);
00046 
00047   ACE_NOTSUP_RETURN (-1);
00048 #endif /* ACE_HAS_TLI */
00049 }

ACE_INLINE int ACE_OS_TLI::t_close ACE_HANDLE    fildes [static]
 

Definition at line 52 of file OS_TLI.inl.

References t_close.

Referenced by ACE_TLI_Acceptor::accept, ACE_TLI_Stream::close, ACE_TLI::close, ACE_TLI_Request_Queue::remove, and t_close.

00053 {
00054 #if defined (ACE_HAS_TLI)
00055   ACE_OSCALL_RETURN (::t_close (handle), int, -1);
00056 #else
00057   ACE_UNUSED_ARG (handle);
00058 
00059   ACE_NOTSUP_RETURN (-1);
00060 #endif /* ACE_HAS_TLI */
00061 }

ACE_INLINE int ACE_OS_TLI::t_connect ACE_HANDLE    fildes,
struct t_call *    sndcall,
struct t_call *    rcvcall
[static]
 

Definition at line 64 of file OS_TLI.inl.

References t_connect.

Referenced by ACE_TLI_Connector::connect, and t_connect.

00067 {
00068 #if defined (ACE_HAS_TLI)
00069   ACE_OSCALL_RETURN (::t_connect (fildes, sndcall, rcvcall), int, -1);
00070 #else
00071   ACE_UNUSED_ARG (fildes);
00072   ACE_UNUSED_ARG (sndcall);
00073   ACE_UNUSED_ARG (rcvcall);
00074 
00075   ACE_NOTSUP_RETURN (-1);
00076 #endif /* ACE_HAS_TLI */
00077 }

ACE_INLINE void ACE_OS_TLI::t_error const char *    errmsg [static]
 

Definition at line 80 of file OS_TLI.inl.

Referenced by ACE_ATM_QoS::construct_options, and ACE_ATM_Stream::get_vpi_vci.

00081 {
00082 #if defined (ACE_HAS_TLI)
00083 #if defined (ACE_HAS_BROKEN_T_ERROR)
00084   ::t_error (ACE_const_cast (char *, errmsg));
00085 #else
00086   ::t_error (errmsg);
00087 #endif /* ACE_HAS_BROKEN_T_ERROR */
00088 #else
00089   ACE_UNUSED_ARG (errmsg);
00090 #endif /* ACE_HAS_TLI */
00091 }

ACE_INLINE int ACE_OS_TLI::t_free char *    ptr,
int    struct_type
[static]
 

Definition at line 94 of file OS_TLI.inl.

References t_free.

Referenced by ACE_TLI_Acceptor::close, ACE_TLI_Request_Queue::close, ACE_TLI_Connector::connect, and t_free.

00095 {
00096 #if defined (ACE_HAS_TLI)
00097   if (ptr == 0)
00098     return 0;
00099   ACE_OSCALL_RETURN (::t_free (ptr, struct_type), int, -1);
00100 #else
00101   ACE_UNUSED_ARG (struct_type);
00102   ACE_UNUSED_ARG (ptr);
00103 
00104   ACE_NOTSUP_RETURN (-1);
00105 #endif /* ACE_HAS_TLI */
00106 }

ACE_INLINE int ACE_OS_TLI::t_getinfo ACE_HANDLE    fildes,
struct t_info *    info
[static]
 

Definition at line 109 of file OS_TLI.inl.

References t_getinfo.

Referenced by ACE_ATM_QoS::construct_options, ACE_ATM_Stream::get_vpi_vci, and t_getinfo.

00110 {
00111 #if defined (ACE_HAS_TLI)
00112   ACE_OSCALL_RETURN (::t_getinfo (handle, info), int, -1);
00113 #else
00114   ACE_UNUSED_ARG (info);
00115   ACE_UNUSED_ARG (handle);
00116 
00117   ACE_NOTSUP_RETURN (-1);
00118 #endif /* ACE_HAS_TLI */
00119 }

ACE_INLINE int ACE_OS_TLI::t_getname ACE_HANDLE    fildes,
struct netbuf *    namep,
int    type
[static]
 

Definition at line 122 of file OS_TLI.inl.

References t_getname.

Referenced by ACE_ATM_QoS::construct_options, ACE_ATM_Stream::get_peer_name, and t_getname.

00125 {
00126 #if defined (ACE_HAS_SVR4_TLI)
00127   ACE_OSCALL_RETURN (::t_getname (handle, namep, type), int, -1);
00128 #else
00129   ACE_UNUSED_ARG (handle);
00130   ACE_UNUSED_ARG (namep);
00131   ACE_UNUSED_ARG (type);
00132 
00133   ACE_NOTSUP_RETURN (-1);
00134 #endif /* ACE_HAS_SVR4_TLI */
00135 }

ACE_INLINE int ACE_OS_TLI::t_getstate ACE_HANDLE    fildes [static]
 

Definition at line 138 of file OS_TLI.inl.

References t_getstate.

Referenced by t_getstate.

00139 {
00140 #if defined (ACE_HAS_TLI)
00141   ACE_OSCALL_RETURN (::t_getstate (handle), int, -1);
00142 #else
00143   ACE_UNUSED_ARG (handle);
00144 
00145   ACE_NOTSUP_RETURN (-1);
00146 #endif /* ACE_HAS_TLI */
00147 }

ACE_INLINE int ACE_OS_TLI::t_listen ACE_HANDLE    fildes,
struct t_call *    call
[static]
 

Definition at line 150 of file OS_TLI.inl.

References t_listen.

Referenced by ACE_TLI_Acceptor::accept, ACE_TLI_Request_Queue::enqueue, and t_listen.

00151 {
00152 #if defined (ACE_HAS_TLI)
00153   ACE_OSCALL_RETURN (::t_listen (handle, call), int, -1);
00154 #else
00155   ACE_UNUSED_ARG (handle);
00156   ACE_UNUSED_ARG (call);
00157 
00158   ACE_NOTSUP_RETURN (-1);
00159 #endif /* ACE_HAS_TLI */
00160 }

ACE_INLINE int ACE_OS_TLI::t_look ACE_HANDLE    fildes [static]
 

Definition at line 163 of file OS_TLI.inl.

References t_look.

Referenced by ACE_XTI_ATM_Mcast::add_leaf, ACE_TLI_Connector::complete, ACE_TLI::look, and t_look.

00164 {
00165 #if defined (ACE_HAS_TLI)
00166   ACE_OSCALL_RETURN (::t_look (handle), int, -1);
00167 #else
00168   ACE_UNUSED_ARG (handle);
00169 
00170   ACE_NOTSUP_RETURN (-1);
00171 #endif /* ACE_HAS_TLI */
00172 }

ACE_INLINE ACE_HANDLE ACE_OS_TLI::t_open char *    path,
int    oflag,
struct t_info *    info
[static]
 

Definition at line 175 of file OS_TLI.inl.

References t_open.

Referenced by ACE_TLI::open, open_new_endpoint, and t_open.

00176 {
00177 #if defined (ACE_HAS_TLI)
00178   ACE_OSCALL_RETURN (::t_open (path, oflag, info), ACE_HANDLE, ACE_INVALID_HANDLE);
00179 #else
00180   ACE_UNUSED_ARG (path);
00181   ACE_UNUSED_ARG (oflag);
00182   ACE_UNUSED_ARG (info);
00183 
00184   ACE_NOTSUP_RETURN (ACE_INVALID_HANDLE);
00185 #endif /* ACE_HAS_TLI */
00186 }

ACE_INLINE int ACE_OS_TLI::t_optmgmt ACE_HANDLE    fildes,
struct t_optmgmt *    req,
struct t_optmgmt *    ret
[static]
 

Definition at line 189 of file OS_TLI.inl.

References t_optmgmt, and t_optmgmt.

Referenced by ACE_TLI::get_option, ACE_ATM_Stream::get_vpi_vci, ACE_TLI::set_option, and t_optmgmt.

00192 {
00193 #if defined (ACE_HAS_TLI)
00194   ACE_OSCALL_RETURN (::t_optmgmt (handle, req, ret), int, -1);
00195 #else
00196   ACE_UNUSED_ARG (handle);
00197   ACE_UNUSED_ARG (req);
00198   ACE_UNUSED_ARG (ret);
00199 
00200   ACE_NOTSUP_RETURN (-1);
00201 #endif /* ACE_HAS_TLI */
00202 }

ACE_INLINE int ACE_OS_TLI::t_rcv ACE_HANDLE    fildes,
char *    buf,
unsigned int    nbytes,
int *    flags
[static]
 

Definition at line 205 of file OS_TLI.inl.

References t_rcv.

Referenced by t_rcv, ACE::t_rcv, and ACE::t_rcv_n_i.

00209 {
00210 #if defined (ACE_HAS_TLI)
00211   ACE_OSCALL_RETURN (::t_rcv (handle, buf, nbytes, flags),
00212                      int, -1);
00213 #else
00214   ACE_UNUSED_ARG (handle);
00215   ACE_UNUSED_ARG (buf);
00216   ACE_UNUSED_ARG (nbytes);
00217   ACE_UNUSED_ARG (flags);
00218 
00219   ACE_NOTSUP_RETURN (-1);
00220 #endif /* ACE_HAS_TLI */
00221 }

ACE_INLINE int ACE_OS_TLI::t_rcvdis ACE_HANDLE    fildes,
struct t_discon *    discon
[static]
 

Definition at line 224 of file OS_TLI.inl.

References t_rcvdis.

Referenced by ACE_TLI::rcvdis, and t_rcvdis.

00225 {
00226 #if defined (ACE_HAS_TLI)
00227   ACE_OSCALL_RETURN (::t_rcvdis (handle, discon), int, -1);
00228 #else
00229   ACE_UNUSED_ARG (handle);
00230   ACE_UNUSED_ARG (discon);
00231 
00232   ACE_NOTSUP_RETURN (-1);
00233 #endif /* ACE_HAS_TLI */
00234 }

ACE_INLINE int ACE_OS_TLI::t_rcvrel ACE_HANDLE    fildes [static]
 

Definition at line 237 of file OS_TLI.inl.

References t_rcvrel.

Referenced by ACE_TLI::rcvrel, and t_rcvrel.

00238 {
00239 #if defined (ACE_HAS_TLI)
00240   ACE_OSCALL_RETURN (::t_rcvrel (handle), int, -1);
00241 #else
00242   ACE_UNUSED_ARG (handle);
00243 
00244   ACE_NOTSUP_RETURN (-1);
00245 #endif /* ACE_HAS_TLI */
00246 }

ACE_INLINE int ACE_OS_TLI::t_rcvudata ACE_HANDLE    fildes,
struct t_unitdata *    unitdata,
int *    flags
[static]
 

Definition at line 249 of file OS_TLI.inl.

References t_rcvudata.

Referenced by t_rcvudata.

00252 {
00253 #if defined (ACE_HAS_TLI)
00254   ACE_OSCALL_RETURN (::t_rcvudata (handle, unitdata, flags),
00255                      int, -1);
00256 #else
00257   ACE_UNUSED_ARG (handle);
00258   ACE_UNUSED_ARG (unitdata);
00259   ACE_UNUSED_ARG (flags);
00260 
00261   ACE_NOTSUP_RETURN (-1);
00262 #endif /* ACE_HAS_TLI */
00263 }

ACE_INLINE int ACE_OS_TLI::t_rcvuderr ACE_HANDLE    fildes,
struct t_uderr *    uderr
[static]
 

Definition at line 266 of file OS_TLI.inl.

References t_rcvuderr.

Referenced by t_rcvuderr.

00267 {
00268 #if defined (ACE_HAS_TLI)
00269   ACE_OSCALL_RETURN (::t_rcvuderr (handle, uderr), int, -1);
00270 #else
00271   ACE_UNUSED_ARG (handle);
00272   ACE_UNUSED_ARG (uderr);
00273 
00274   ACE_NOTSUP_RETURN (-1);
00275 #endif /* ACE_HAS_TLI */
00276 }

ACE_INLINE int ACE_OS_TLI::t_snd ACE_HANDLE    fildes,
const char *    buf,
unsigned int    nbytes,
int    flags
[static]
 

Definition at line 279 of file OS_TLI.inl.

References t_snd.

Referenced by t_snd, ACE::t_snd, and ACE::t_snd_n_i.

00283 {
00284 #if defined (ACE_HAS_TLI)
00285   ACE_OSCALL_RETURN (::t_snd (handle, (char *) buf, nbytes, flags), int, -1);
00286 #else
00287   ACE_UNUSED_ARG (handle);
00288   ACE_UNUSED_ARG (buf);
00289   ACE_UNUSED_ARG (nbytes);
00290   ACE_UNUSED_ARG (flags);
00291 
00292   ACE_NOTSUP_RETURN (-1);
00293 #endif /* ACE_HAS_TLI */
00294 }

ACE_INLINE int ACE_OS_TLI::t_snddis ACE_HANDLE    fildes,
struct t_call *    call
[static]
 

Definition at line 297 of file OS_TLI.inl.

References t_snddis.

Referenced by open_new_endpoint, ACE_TLI::snddis, and t_snddis.

00298 {
00299 #if defined (ACE_HAS_TLI)
00300   ACE_OSCALL_RETURN (::t_snddis (handle, call), int, -1);
00301 #else
00302   ACE_UNUSED_ARG (handle);
00303   ACE_UNUSED_ARG (call);
00304 
00305   ACE_NOTSUP_RETURN (-1);
00306 #endif /* ACE_HAS_TLI */
00307 }

ACE_INLINE int ACE_OS_TLI::t_sndrel ACE_HANDLE    fildes [static]
 

Definition at line 310 of file OS_TLI.inl.

References t_sndrel.

Referenced by ACE_TLI::sndrel, and t_sndrel.

00311 {
00312 #if defined (ACE_HAS_TLI)
00313   ACE_OSCALL_RETURN (::t_sndrel (handle), int, -1);
00314 #else
00315   ACE_UNUSED_ARG (handle);
00316 
00317   ACE_NOTSUP_RETURN (-1);
00318 #endif /* ACE_HAS_TLI */
00319 }

ACE_INLINE int ACE_OS_TLI::t_sync ACE_HANDLE    fildes [static]
 

Definition at line 322 of file OS_TLI.inl.

References t_sync.

Referenced by t_sync.

00323 {
00324 #if defined (ACE_HAS_TLI)
00325   ACE_OSCALL_RETURN (::t_sync (handle), int, -1);
00326 #else
00327   ACE_UNUSED_ARG (handle);
00328 
00329   ACE_NOTSUP_RETURN (-1);
00330 #endif /* ACE_HAS_TLI */
00331 }

ACE_INLINE int ACE_OS_TLI::t_unbind ACE_HANDLE    fildes [static]
 

Definition at line 334 of file OS_TLI.inl.

References t_unbind.

Referenced by t_unbind.

00335 {
00336 #if defined (ACE_HAS_TLI)
00337   ACE_OSCALL_RETURN (::t_unbind (handle), int, -1);
00338 #else
00339   ACE_UNUSED_ARG (handle);
00340 
00341   ACE_NOTSUP_RETURN (-1);
00342 #endif /* ACE_HAS_TLI */
00343 }


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:51:54 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002