All Categories  Class Hierarchy  This Category  Previous  Next  Indexes

Interface_Dispatcher Class CATCdpServer

CATCdpServer
 


public class CATCdpServer


Constructor and Destructor Index


o CATCdpServer(CATCdpServer&)
o CATCdpServer(char* const,char* const,char* const,char* const)
o ~CATCdpServer()

Method Index


o Connect()
o DefineStandardCallback(int,tp_xco_cb)
o DelayStopEventLoop(int,CATCdpMessage* const)
o DumpDebugStack()
o GetBaseApplicationName()
o GetClientBehaviour()
o GetCondition()
o GetHostName()
o GetHostType()
o GetIDPTimerValue(float&,float&)
o GetSendCommand()
o GetServerBehaviour()
o GetServerId()
o GetServerName()
o GetServerType()
o HandleRpcMessage(int)
o InitProcess(char* const,int*,int)
o InitServer()
o Initialize()
o InstallExceptionRaise(void(*FunctionToCallWhenExceptionRaise)())
o IsBaseApplication()
o IsServerAlreadyStarted()
o PostWaitCommand()
o ReadDouble(double&)
o ReadFixString(int,char* const)
o ReadFloat(float&)
o ReadInt(int&)
o ReadMessage(CATCdpMessage&)
o ReadString(int&,int&,char**)
o ReceiveDouble(double&)
o ReceiveFixString(int,char* const)
o ReceiveFloat(float&)
o ReceiveInt(int&)
o ReceiveMessage(CATCdpMessage&)
o ReceiveString(int&,int&,char**)
o ResetIDPTimer()
o SendDouble(int,double)
o SendFloat(int,float)
o SendInt(int,int)
o SendMessage(CATCdpMessage&)
o SendNotification(char* const,char* const,CATCdpMessage&)
o SendRpcMessage(CATCdpMessage* const,int)
o SendRspMessage(CATCdpMessage&)
o SendString(int,int,void* const)
o SetBaseApplicationName(char* const)
o SetClientBehaviour(ProcessBehaviour)
o SetCondition(int)
o SetHostType(HostType)
o SetSendCommand(char*)
o SetServerBehaviour(ProcessBehaviour)
o SetServerType(ServerType)
o StartEventLoop()
o StartRpcLoop()
o StartServer()
o Stop()
o StopEventLoop()
o StopServer()
o WaitForRpcMessage(CATCdpMessage&)
o WaitForRspMessage(CATCdpMessage&)
o WriteDouble(int,double)
o WriteFloat(int,float)
o WriteInt(int,int)
o WriteMessage(CATCdpMessage&)
o WriteString(int,int,char* const)
o operator=(CATCdpServer&)

Enumerated Type Index


o HostType
o ProcessBehaviour
o ServerType

Data Member Index


o CmdConnect
o CmdInit
o CmdLoop
o CmdRpc
o CmdRsp
o CmdSend
o CmdStop
o CmdStopAppli
o CmdWait
o CmdWakeUp
o DEFAULT_COMMAND
o DEFAULT_HOST
o DEFAULT_ID

Constructor and Destructor


o CATCdpServer
public CATCdpServer( const CATCdpServer& elt)
o CATCdpServer
public CATCdpServer( const char* const Name= NULL ,
const char* const Command= NULL ,
const char* const Parameter= NULL ,
const char* const Host= NULL )
o ~CATCdpServer
public virtual ~CATCdpServer()

Methods


o Connect
public static void Connect()
o DefineStandardCallback
public static int DefineStandardCallback(int CommandName,
tp_xco_cb Function)
o DelayStopEventLoop
public static void DelayStopEventLoop(int nReturnCode= 0 ,
const CATCdpMessage* const xMsg= NULL )
o DumpDebugStack
public static void DumpDebugStack()
o GetBaseApplicationName
public static const char * GetBaseApplicationName()
o GetClientBehaviour
public ProcessBehaviour GetClientBehaviour()const
o GetCondition
public int GetCondition()const
o GetHostName
public const char * GetHostName()const
o GetHostType
public HostType GetHostType()const
o GetIDPTimerValue
public static void GetIDPTimerValue(float& nCpuTime,
float& nUserTime)
o GetSendCommand
public const char * GetSendCommand()const
o GetServerBehaviour
public ProcessBehaviour GetServerBehaviour()const
o GetServerId
public const char * GetServerId()const
o GetServerName
public static const char * GetServerName()
o GetServerType
public ServerType GetServerType()const
o HandleRpcMessage
public static void HandleRpcMessage(int flag)
o InitProcess
public static void InitProcess( const char* const cAppliName,
int* xShell= NULL ,
int portee= XCO_INTERNAL )
o InitServer
public int InitServer()
o Initialize
public static void Initialize()
o InstallExceptionRaise
public static void InstallExceptionRaise(void(*FunctionToCallWhenExceptionRaise)() int)
o IsBaseApplication
public static int IsBaseApplication()
o IsServerAlreadyStarted
public int IsServerAlreadyStarted()
o PostWaitCommand
public static void PostWaitCommand()
o ReadDouble
public static int ReadDouble(double& Value)
o ReadFixString
public static int ReadFixString(int length,
char* const Value)
o ReadFloat
public static int ReadFloat(float& Value)
o ReadInt
public static int ReadInt(int& Value)
o ReadMessage
public static int ReadMessage(CATCdpMessage& xMsg)
o ReadString
public static int ReadString(int& length_max,
int& length,
char** Value)
o ReceiveDouble
public int ReceiveDouble(double& Value)const
o ReceiveFixString
public int ReceiveFixString(int length,
char* const Value)const
o ReceiveFloat
public int ReceiveFloat(float& Value)const
o ReceiveInt
public int ReceiveInt(int& Value)const
o ReceiveMessage
public int ReceiveMessage(CATCdpMessage& xMsg)const
o ReceiveString
public int ReceiveString(int& length_max,
int& length,
char** Value)const
o ResetIDPTimer
public static void ResetIDPTimer()
o SendDouble
public int SendDouble(int Last,
double Value)const
o SendFloat
public int SendFloat(int Last,
float Value)const
o SendInt
public int SendInt(int Last,
int Value)const
o SendMessage
public int SendMessage(CATCdpMessage& xMsg)const
o SendNotification
public static int SendNotification( const char* const cReceiver,
const char* const cCommandId,
CATCdpMessage& xMsg)
o SendRpcMessage
public static int SendRpcMessage(CATCdpMessage* const xMsg,
int waitRsp=1)
o SendRspMessage
public static int SendRspMessage( const CATCdpMessage& xMsg)
o SendString
public int SendString(int Last,
int length,
const void* const Value)const
o SetBaseApplicationName
public static void SetBaseApplicationName( const char* const cName)
o SetClientBehaviour
public void SetClientBehaviour(ProcessBehaviour nClientBehaviour)
o SetCondition
public void SetCondition(int )
o SetHostType
public void SetHostType(HostType )
o SetSendCommand
public void SetSendCommand( const char* )
o SetServerBehaviour
public void SetServerBehaviour(ProcessBehaviour nServerBehaviour)
o SetServerType
public void SetServerType(ServerType )
o StartEventLoop
public static void StartEventLoop()
o StartRpcLoop
public static void StartRpcLoop()
o StartServer
public int StartServer()
o Stop
public static void Stop()
o StopEventLoop
public static void StopEventLoop()
o StopServer
public int StopServer()
o WaitForRpcMessage
public static int WaitForRpcMessage(CATCdpMessage& xMsg)
o WaitForRspMessage
public static int WaitForRspMessage(CATCdpMessage& xMsg)
o WriteDouble
public static int WriteDouble(int Last,
double Value)
o WriteFloat
public static int WriteFloat(int Last,
float Value)
o WriteInt
public static int WriteInt(int Last,
int Value)
o WriteMessage
public static int WriteMessage(CATCdpMessage& xMsg)
o WriteString
public static int WriteString(int Last,
int length,
const char* const Value)
o operator=
public const CATCdpServer& operator=( const CATCdpServer& )

Enumerated Types


o HostType
enum HostType {
  AIX,
  HP_UX,
  SUNOS,
  WINDOWS_NT
}
o ProcessBehaviour
enum ProcessBehaviour {
  STANDARD,
  NO_RESTART,
  MANDATORY,
  UNDEFINED
}
o ServerType
enum ServerType {
  XCO,
  IDL
}

Data Members


o CmdConnect
  public static const char * CmdConnect
o CmdInit
  public static const char * CmdInit
o CmdLoop
  public static const char * CmdLoop
o CmdRpc
  public static const char * CmdRpc
o CmdRsp
  public static const char * CmdRsp
o CmdSend
  public static const char * CmdSend
o CmdStop
  public static const char * CmdStop
o CmdStopAppli
  public static const char * CmdStopAppli
o CmdWait
  public static const char * CmdWait
o CmdWakeUp
  public static const char * CmdWakeUp
o DEFAULT_COMMAND
  public static const char * DEFAULT_COMMAND
o DEFAULT_HOST
  public static const char * DEFAULT_HOST
o DEFAULT_ID
  public static const char * DEFAULT_ID

This object is included in the file: CATCdpServer.h
If needed, your Imakefile.mk should include the module: VY0INF

Copyright © 2003, Dassault Systèmes. All rights reserved.