Top Description Fields Methods
org.osgi.service.enocean

public Interface EnOceanRPC


A very basic interface for RPCs.
Author
$Id: e47e610ccf4c561b40580e50a9636b8d344bc436 $

Field Summary

Modifier and TypeField and Description
public static final String
FUNCTION_ID

The Function ID property string, used in EventAdmin RPC broadcasting.

public static final String
MANUFACTURER_ID

The Manufacturer ID property string, used in EventAdmin RPC broadcasting.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

function id.
getFunctionId
()

Gets the functionID for this RPC.

public int

Returns:

manufacturer id.
getManufacturerId
()

Gets the manufacturerID for this RPC.

public String

Returns:

the name.
getName
()

Get a friendly name for the RPC

public byte[]

Returns:

the payload, in bytes, of this RPC.
getPayload
()

Gets the current payload of the RPC.

public int

Returns:

sender id.
getSenderId
()

Sets the RPC's senderID.

public void
setSenderId(int chipId)

Sets the RPC's senderID.

Field Detail

FUNCTION_IDback to summary
public static final String FUNCTION_ID

The Function ID property string, used in EventAdmin RPC broadcasting.

MANUFACTURER_IDback to summary
public static final String MANUFACTURER_ID

The Manufacturer ID property string, used in EventAdmin RPC broadcasting.

Method Detail

getFunctionIdback to summary
public int getFunctionId()

Gets the functionID for this RPC.

Returns:int

function id.

getManufacturerIdback to summary
public int getManufacturerId()

Gets the manufacturerID for this RPC.

Returns:int

manufacturer id.

getNameback to summary
public String getName()

Get a friendly name for the RPC

Returns:String

the name.

getPayloadback to summary
public byte[] getPayload()

Gets the current payload of the RPC.

Returns:byte[]

the payload, in bytes, of this RPC.

getSenderIdback to summary
public int getSenderId()

Sets the RPC's senderID. This member has to belong to EnOceanRPC interface, for the object may be sent as a standalone using EventAdmin for instance.

Returns:int

sender id.

setSenderIdback to summary
public void setSenderId(int chipId)

Sets the RPC's senderID.