Oracle Java Wireless Client

com.oracle.deviceaccess.mmio
Interface RawLong

All Superinterfaces:
RawMemory

public interface RawLong
extends RawMemory

The RawLong interface provides methods for setting and getting the value of a register or memory area holding a long value. A RawLong instance can be obtained from a MMIODevice instance.


Method Summary
 long get()
          Gets the long value at the memory area associated with this object.
 void set(long value)
          Sets the long value at the memory area associated with this object.
 
Methods inherited from interface com.oracle.deviceaccess.mmio.RawMemory
getName
 

Method Detail

set

void set(long value)
         throws PeripheralNotAvailableException
Sets the long value at the memory area associated with this object.

Parameters:
value - long data to set.
Throws:
PeripheralNotAvailableException - if the peripheral is not currently available (has been released).

get

long get()
         throws PeripheralNotAvailableException
Gets the long value at the memory area associated with this object.

Returns:
the long value.
Throws:
PeripheralNotAvailableException - if the peripheral is not currently available (has been released).

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.