zmq.Msg methods

 

 

method

description and examples

variables data type

get()

retrieves 4gl data from the message content:

 

DEFINE cust_rec RECORD

...

CALL msg.get(cust_rec)

 

any

init()

initializes a ZMQ.Msg object:

 

DEFINE msg ZMQ.Msg

...

CALL msg.Init("Your message")

 

any

move()

moves the message content to another message:

 

DEFINE msg1, msg2 ZMQ.Msg

...

CALL msg1.Move(msg2)

 

ZMQ.Msg

copy()

copies the message content to another message:

 

DEFINE msg1, msg2 ZMQ.Msg

...

CALL msg1.Copy(msg2)

 

ZMQ.Msg

size()

retrieves the size of the message content in bytes:

 

CALL msg.Size()

 

 

clear()

clears the message content:

 

CALL msg.Clear()