GetMarshaler
Description
Obtains the marshaler object associated with a proxy
object.
Syntax
|
1 |
GetMarshaler(pbproxyObject obj) |
|
Argument |
Description |
|---|---|
|
obj |
An object of type pbproxyObject for which you want |
Return value
IPBX_Marshaler*.
Examples
This code creates a Java marshaler object and associates it with a
proxy. Later, GetMarshaler is used to get the marshaler object:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
// Create JavaMarshaler JavaMarshaler* marshaler = new JavaMarshaler(env, proxy, jobj); // Associate the JavaMarshaler with the // PowerBuilder proxy session-> SetMarshaler(proxy, marshaler); ci-> pArgs-> GetAt(0)-> SetObject(proxy); ci-> returnValue-> SetLong(kSuccessful); return PBX_OK; ... // Get the marshaler IPBX_Marshaler* pIPBX_Marshaler = NULL; pIPBX_Marshaler =(IPBX_Marshaler*)session -> GetMarshaler(proxy); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest