OpenECHO
 All Classes Namespaces Files Functions Variables
Static Public Member Functions | List of all members
com.sonycsl.echo.EchoUtils Class Reference

Static Public Member Functions

static final byte[] classToByteArray (EchoObject eoj)
 
static final byte[] instanceToByteArray (EchoObject eoj)
 
static byte[] devicesToByteArray (DeviceObject[] devices, int index)
 
static byte[] devicesToByteArray (DeviceObject[] devices)
 
static short getEchoClassCode (byte classGroupCode, byte classCode)
 
static int getEchoObjectCode (byte classGroupCode, byte classCode, byte instanceCode)
 
static int getEchoObjectCode (short echoClassCode, byte instanceCode)
 
static short getEchoClassCodeFromObjectCode (int objectCode)
 
static byte getInstanceCodeFromObjectCode (int objectCode)
 
static InetAddress getLocalIpAddress () throws SocketException
 
static NetworkInterface getNetworkInterface () throws SocketException
 
static String toHexString (byte[] data)
 
static String toHexString (byte[] data, String sep)
 
static String toHexString (byte b)
 
static String toHexString (short s)
 
static byte[] propertiesToPropertyMap (byte[] properties)
 
static byte[] propertyMapToProperties (byte[] map)
 
static byte[] toByteArray (byte arg, int length)
 
static byte[] toByteArray (byte arg)
 
static byte[] toByteArray (short arg, int length)
 
static byte[] toByteArray (short arg)
 
static byte[] toByteArray (int arg, int length)
 
static byte[] toByteArray (int arg)
 
static byte[] toByteArray (long arg, int length)
 
static byte[] toByteArray (long arg)
 
static byte allocateSelfDeviceInstanceCode (short echoClassCode)
 

Detailed Description

Definition at line 34 of file EchoUtils.java.

Member Function Documentation

static byte com.sonycsl.echo.EchoUtils.allocateSelfDeviceInstanceCode ( short  echoClassCode)
static

Definition at line 302 of file EchoUtils.java.

static final byte [] com.sonycsl.echo.EchoUtils.classToByteArray ( EchoObject  eoj)
static

Definition at line 37 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.devicesToByteArray ( DeviceObject[]  devices,
int  index 
)
static

Definition at line 45 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.devicesToByteArray ( DeviceObject[]  devices)
static

Definition at line 88 of file EchoUtils.java.

static short com.sonycsl.echo.EchoUtils.getEchoClassCode ( byte  classGroupCode,
byte  classCode 
)
static

Definition at line 101 of file EchoUtils.java.

static short com.sonycsl.echo.EchoUtils.getEchoClassCodeFromObjectCode ( int  objectCode)
static

Definition at line 129 of file EchoUtils.java.

static int com.sonycsl.echo.EchoUtils.getEchoObjectCode ( byte  classGroupCode,
byte  classCode,
byte  instanceCode 
)
static

Definition at line 110 of file EchoUtils.java.

static int com.sonycsl.echo.EchoUtils.getEchoObjectCode ( short  echoClassCode,
byte  instanceCode 
)
static

Definition at line 120 of file EchoUtils.java.

static byte com.sonycsl.echo.EchoUtils.getInstanceCodeFromObjectCode ( int  objectCode)
static

Definition at line 132 of file EchoUtils.java.

static InetAddress com.sonycsl.echo.EchoUtils.getLocalIpAddress ( ) throws SocketException
static

Definition at line 136 of file EchoUtils.java.

static NetworkInterface com.sonycsl.echo.EchoUtils.getNetworkInterface ( ) throws SocketException
static

Definition at line 151 of file EchoUtils.java.

static final byte [] com.sonycsl.echo.EchoUtils.instanceToByteArray ( EchoObject  eoj)
static

Definition at line 41 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.propertiesToPropertyMap ( byte[]  properties)
static

Definition at line 188 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.propertyMapToProperties ( byte[]  map)
static

Definition at line 219 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.toByteArray ( byte  arg,
int  length 
)
static

Definition at line 244 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.toByteArray ( byte  arg)
static

Definition at line 254 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.toByteArray ( short  arg,
int  length 
)
static

Definition at line 258 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.toByteArray ( short  arg)
static

Definition at line 268 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.toByteArray ( int  arg,
int  length 
)
static

Definition at line 272 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.toByteArray ( int  arg)
static

Definition at line 282 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.toByteArray ( long  arg,
int  length 
)
static

Definition at line 286 of file EchoUtils.java.

static byte [] com.sonycsl.echo.EchoUtils.toByteArray ( long  arg)
static

Definition at line 296 of file EchoUtils.java.

static String com.sonycsl.echo.EchoUtils.toHexString ( byte[]  data)
static

Definition at line 167 of file EchoUtils.java.

static String com.sonycsl.echo.EchoUtils.toHexString ( byte[]  data,
String  sep 
)
static

Definition at line 170 of file EchoUtils.java.

static String com.sonycsl.echo.EchoUtils.toHexString ( byte  b)
static

Definition at line 180 of file EchoUtils.java.

static String com.sonycsl.echo.EchoUtils.toHexString ( short  s)
static

Definition at line 184 of file EchoUtils.java.


The documentation for this class was generated from the following file: