a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Static lib:
 amiga.lib
  ACrypt
  AddTOF
  ArgArrayDone
  ArgArrayInit
  ArgInt
  ArgString
  BeginIO
  CallHook
  CallHookA
  CheckRexxMsg
  CoerceMethod
  CoerceMethodA
  CreateExtIO
  CreatePort
  CreateStdIO
  CreateTask
  CxCustom
  CxDebug
  CxFilter
  CxSender
  CxSignal
  CxTranslate
  DeleteExtIO
  DeletePort
  DeleteStdIO
  DeleteTask
  DoMethod
  DoMethodA
  DoSuperMethod
  DoSuperMethodA
  FastRand
  FreeIEvents
  GetRexxVar
  HookEntry
  HotKey
  InvertString
  LibAllocPooled
  LibCreatePool
  LibDeletePool
  LibFreePooled
  NewList
  RangeRand
  RemTOF
  SetRexxVar
  SetSuperAttrs
  TimeDelay
  afp
  arnd
  dbf
  fpa
  printf
  sprintf
  stdio
Include
GuruMeditation
Docs » Autodocs » amiga.lib » CxSender

NAME

	CxSender -- create a commodity sender object. (V36)

SYNOPSIS

	senderObj = CxSender(port,id)
CxObj *CxSender(struct MsgPort *,LONG);

FUNCTION

	This function creates a Commodities sender object. The action
of this object on receiving a Commodities message is to copy the
Commodities message into a standard Exec Message, to put the value
'id' in the message as well, and to send the message off to the
message port 'port'.
The value 'id' is used so that an application can monitor
messages from several senders at a single port. It can be retrieved
from the Exec message by using the function CxMsgID(). The value can
be a simple integer ID, or a pointer to some application data
structure.
Note that Exec messages sent by sender objects arrive
asynchronously at the destination port. Do not assume anything about
the status of the Commodities message which was copied into the Exec
message you received.
All Exec messages sent to your ports must be replied. Messages may be
replied after the sender object has been deleted.
This function is a C-language macro for CreateCxObj(), defined
in <libraries/commodities.h>.

INPUTS

	port - the port for the sender to send messages to
id - the id of the messages sent by the sender

RESULT

	senderObj - a pointer to the sender object, or NULL if it could
not be created.

SEE ALSO

commodities.library/CreateCxObj(), commodities.library/CxMsgID(), exec.library/PutMsg(), exec.library/ReplyMsg()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Paradox

SPB
PDX
AFL
RBS

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se