Свойство | Тип | Описание | |
---|---|---|---|
iHandle |
Метод | Описание | |
---|---|---|
Adapter ( ) : uint |
Get the network adapter an action was invoked using.
|
|
DvInvocation ( |
Constructor
|
|
GetClientEndpoint ( uint &aAddress, uint &aPort ) : void |
Get the endpoint of the client.
|
|
ReadBinary ( String aName ) : byte[] |
Read the value of a binary input argument for an invocation
|
|
ReadBool ( String aName ) : bool |
Read the value of a boolean input argument for an invocation
|
|
ReadEnd ( ) : void |
Complete reading (input arguments for) an invocation Must be called after the values of all input arguments are read. Must be called for invocations with no input arguments. |
|
ReadInt ( String aName ) : int |
Read the value of an integer input argument for an invocation
|
|
ReadStart ( ) : void |
Begin reading (input arguments for) an invocation Must be called before the values of any input arguments are read. Must be called for invocations with no input arguments. |
|
ReadString ( String aName ) : String |
Read the value of a string input argument for an invocation
|
|
ReadUint ( String aName ) : uint |
Read the value of an unsigned integer input argument for an invocation
|
|
ReportActionError ( |
||
ReportError ( uint aCode, String aDescription ) : void |
Report an error reading or writing an invocation Must be called if ReadEnd() isn't reached. May be called if WriteStart() or later have been called. |
|
ResourceUriPrefix ( ) : string |
Get the prefix to use on any uris to resources offered by the provider.
|
|
Version ( ) : uint |
Get the version number of the service requested by the caller.
|
|
WriteBinary ( String aName, byte aData ) : void |
Set the value of a binary output argument for an invocation.
|
|
WriteBool ( String aName, bool aValue ) : void |
Set the value of a boolean output argument for an invocation.
|
|
WriteEnd ( ) : void |
Complete writing (output arguments for) an invocation Must be called after the values of all output arguments are written. Must be called for invocations with no output arguments. |
|
WriteInt ( String aName, int aValue ) : void |
Set the value of an integer output argument for an invocation.
|
|
WriteStart ( ) : void |
Begin reading (output arguments for) an invocation Must be called before the values of any output arguments are written. Must be called for invocations with no output arguments. |
|
WriteString ( String aName, String aValue ) : void |
Set the value of a string output argument for an invocation.
|
|
WriteUint ( String aName, uint aValue ) : void |
Set the value of an unsigned integer output argument for an invocation.
|
Метод | Описание | |
---|---|---|
CheckError ( int aError ) : void | ||
DvInvocationGetAdapter ( |
||
DvInvocationGetClientEndpoint ( |
||
DvInvocationGetResourceUriPrefix ( |
||
DvInvocationGetVersion ( |
||
DvInvocationReadBinary ( |
||
DvInvocationReadBool ( |
||
DvInvocationReadEnd ( |
||
DvInvocationReadInt ( |
||
DvInvocationReadStart ( |
||
DvInvocationReadStringAsBuffer ( |
||
DvInvocationReadUint ( |
||
DvInvocationReportError ( |
||
DvInvocationWriteBinary ( |
||
DvInvocationWriteBinaryEnd ( |
||
DvInvocationWriteBinaryStart ( |
||
DvInvocationWriteBool ( |
||
DvInvocationWriteEnd ( |
||
DvInvocationWriteInt ( |
||
DvInvocationWriteStart ( |
||
DvInvocationWriteString ( |
||
DvInvocationWriteStringEnd ( |
||
DvInvocationWriteStringStart ( |
||
DvInvocationWriteUint ( |
||
OhNetFree ( |
public DvInvocation ( |
||
aHandle | 'aInvocation' argument to ActionDelegate | |
Результат | System |
public GetClientEndpoint ( uint &aAddress, uint &aPort ) : void | ||
aAddress | uint | IPv4 address in network byte order |
aPort | uint | Client's port [1..65535] |
Результат | void |
public ReadBinary ( String aName ) : byte[] | ||
aName | String | Name of the parameter associated with this input argument |
Результат | byte[] |
public ReadBool ( String aName ) : bool | ||
aName | String | Name of the parameter associated with this input argument |
Результат | bool |
public ReadInt ( String aName ) : int | ||
aName | String | Name of the parameter associated with this input argument |
Результат | int |
public ReadString ( String aName ) : String | ||
aName | String | Name of the parameter associated with this input argument |
Результат | String |
public ReadUint ( String aName ) : uint | ||
aName | String | Name of the parameter associated with this input argument |
Результат | uint |
public ReportActionError ( |
||
aException | ||
aActionName | string | |
Результат | void |
public ReportError ( uint aCode, String aDescription ) : void | ||
aCode | uint | Error code |
aDescription | String | Error description |
Результат | void |
public WriteBinary ( String aName, byte aData ) : void | ||
aName | String | Name of the parameter associated with this output argument |
aData | byte | Value of the output argument |
Результат | void |
public WriteBool ( String aName, bool aValue ) : void | ||
aName | String | Name of the parameter associated with this output argument |
aValue | bool | Value of the output argument |
Результат | void |
public WriteInt ( String aName, int aValue ) : void | ||
aName | String | Name of the parameter associated with this output argument |
aValue | int | Value of the output argument |
Результат | void |
public WriteString ( String aName, String aValue ) : void | ||
aName | String | Name of the parameter associated with this output argument |
aValue | String | Value of the output argument |
Результат | void |
public WriteUint ( String aName, uint aValue ) : void | ||
aName | String | Name of the parameter associated with this output argument |
aValue | uint | Value of the output argument |
Результат | void |