PPL Logo

conv-ccs/ccs-client.h File Reference

Go to the source code of this file.

Data Structures

struct  CcsServer

Functions

int CcsConnect (CcsServer *svr, const char *host, int port, const CcsSec_secretKey *key)
 Converse Client-Server Module: Client Side.
int CcsConnectWithTimeout (CcsServer *svr, const char *host, int port, const CcsSec_secretKey *key, int timeout)
int CcsConnectIp (CcsServer *svr, skt_ip_t ip, int port, const CcsSec_secretKey *key)
int CcsConnectIpWithTimeout (CcsServer *svr, skt_ip_t ip, int port, const CcsSec_secretKey *key, int timeout)
int CcsSendRequest (CcsServer *svr, const char *hdlrID, int pe, int size, const void *msg)
int CcsSendRequestWithTimeout (CcsServer *svr, const char *hdlrID, int pe, int size, const void *msg, int timeout)
int CcsSendBroadcastRequest (CcsServer *svr, const char *hdlrID, int size, const void *msg)
int CcsSendBroadcastRequestWithTimeout (CcsServer *svr, const char *hdlrID, int size, const void *msg, int timeout)
int CcsSendMulticastRequest (CcsServer *svr, const char *hdlrID, int npes, int *pes, int size, const void *msg)
int CcsSendMulticastRequestWithTimeout (CcsServer *svr, const char *hdlrID, int npes, int *pes, int size, const void *msg, int timeout)
int CcsNoResponse (CcsServer *svr)
int CcsRecvResponse (CcsServer *svr, int maxsize, void *recvBuffer, int timeout)
int CcsRecvResponseMsg (CcsServer *svr, int *retSize, void **newBuf, int timeout)
int CcsNumNodes (CcsServer *svr)
int CcsNumPes (CcsServer *svr)
int CcsNodeFirst (CcsServer *svr, int node)
int CcsNodeSize (CcsServer *svr, int node)
int CcsProbe (CcsServer *svr)
int CcsProbeTimeout (CcsServer *svr, int timeoutMs)
void CcsFinalize (CcsServer *svr)


Function Documentation

int CcsConnect ( CcsServer svr,
const char *  host,
int  port,
const CcsSec_secretKey key 
)

Converse Client-Server Module: Client Side.

Definition at line 128 of file ccs-client.C.

References CcsConnectWithTimeout().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int CcsConnectWithTimeout ( CcsServer svr,
const char *  host,
int  port,
const CcsSec_secretKey key,
int  timeout 
)

Definition at line 132 of file ccs-client.C.

References CcsConnectIpWithTimeout(), skt_init(), and skt_lookup_ip().

Referenced by CcsConnect().

Here is the call graph for this function:

Here is the caller graph for this function:

int CcsConnectIp ( CcsServer svr,
skt_ip_t  ip,
int  port,
const CcsSec_secretKey key 
)

Definition at line 139 of file ccs-client.C.

References CcsConnectIpWithTimeout().

Here is the call graph for this function:

int CcsConnectIpWithTimeout ( CcsServer svr,
skt_ip_t  ip,
int  port,
const CcsSec_secretKey key,
int  timeout 
)

int CcsSendRequest ( CcsServer svr,
const char *  hdlrID,
int  pe,
int  size,
const void *  msg 
)

Definition at line 272 of file ccs-client.C.

References CcsSendRequestGeneric().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int CcsSendRequestWithTimeout ( CcsServer svr,
const char *  hdlrID,
int  pe,
int  size,
const void *  msg,
int  timeout 
)

Definition at line 276 of file ccs-client.C.

References CcsSendRequestGeneric().

Referenced by CcsConnectIpWithTimeout().

Here is the call graph for this function:

Here is the caller graph for this function:

int CcsSendBroadcastRequest ( CcsServer svr,
const char *  hdlrID,
int  size,
const void *  msg 
)

Definition at line 280 of file ccs-client.C.

References CcsSendRequestGeneric().

Here is the call graph for this function:

int CcsSendBroadcastRequestWithTimeout ( CcsServer svr,
const char *  hdlrID,
int  size,
const void *  msg,
int  timeout 
)

Definition at line 285 of file ccs-client.C.

References CcsSendRequestGeneric().

Here is the call graph for this function:

int CcsSendMulticastRequest ( CcsServer svr,
const char *  hdlrID,
int  npes,
int pes,
int  size,
const void *  msg 
)

Definition at line 290 of file ccs-client.C.

References CcsSendRequestGeneric().

Here is the call graph for this function:

int CcsSendMulticastRequestWithTimeout ( CcsServer svr,
const char *  hdlrID,
int  npes,
int pes,
int  size,
const void *  msg,
int  timeout 
)

Definition at line 300 of file ccs-client.C.

References CcsSendRequestGeneric().

Here is the call graph for this function:

int CcsNoResponse ( CcsServer svr  ) 

Definition at line 323 of file ccs-client.C.

References CcsServer::replyFd, and skt_close().

Here is the call graph for this function:

int CcsRecvResponse ( CcsServer svr,
int  maxsize,
void *  recvBuffer,
int  timeout 
)

Definition at line 351 of file ccs-client.C.

References CcsImpl_recvReplyAuth(), ChMessageInt(), CmiWallTimer(), fd, len, CcsServer::replyFd, skt_close(), skt_recvN(), and skt_select1().

Here is the call graph for this function:

int CcsRecvResponseMsg ( CcsServer svr,
int retSize,
void **  newBuf,
int  timeout 
)

Definition at line 332 of file ccs-client.C.

References CcsImpl_recvReplyAuth(), ChMessageInt(), fd, len, malloc(), CcsServer::replyFd, skt_close(), skt_recvN(), and skt_select1().

Referenced by CcsConnectIpWithTimeout(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

int CcsNumNodes ( CcsServer svr  ) 

Definition at line 194 of file ccs-client.C.

References CcsServer::numNodes.

int CcsNumPes ( CcsServer svr  ) 

Definition at line 199 of file ccs-client.C.

References CcsServer::numPes.

Referenced by main().

Here is the caller graph for this function:

int CcsNodeFirst ( CcsServer svr,
int  node 
)

Definition at line 204 of file ccs-client.C.

References CcsServer::numProcs.

int CcsNodeSize ( CcsServer svr,
int  node 
)

Definition at line 213 of file ccs-client.C.

References CcsServer::numProcs.

int CcsProbe ( CcsServer svr  ) 

Definition at line 370 of file ccs-client.C.

References CcsServer::replyFd, and skt_select1().

Here is the call graph for this function:

int CcsProbeTimeout ( CcsServer svr,
int  timeoutMs 
)

Definition at line 374 of file ccs-client.C.

References CcsServer::replyFd, and skt_select1().

Here is the call graph for this function:

void CcsFinalize ( CcsServer svr  ) 

Definition at line 379 of file ccs-client.C.

References CcsServer::replyFd, and skt_close().

Here is the call graph for this function:


Generated on Mon Sep 21 07:59:52 2020 for Charm++ by  doxygen 1.5.5