public class UniqueDeviceIdHelper
extends java.lang.Object
Constructor and Description |
---|
UniqueDeviceIdHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
readUniqueDeviceId(java.io.DataInputStream dataInputStream)
Reads a uniqueDeviceId from a data input stream.
|
static void |
sendUniqueDeviceIdThroughOutputStream(IBlaubotDevice ownDevice,
java.io.OutputStream outputStream)
Sends the uniqueDeviceId of ownDevice through an outputstream
|
public static java.lang.String readUniqueDeviceId(java.io.DataInputStream dataInputStream) throws java.io.IOException
dataInputStream
- the input streamjava.io.IOException
- if something goes wrongpublic static void sendUniqueDeviceIdThroughOutputStream(IBlaubotDevice ownDevice, java.io.OutputStream outputStream) throws java.io.IOException
ownDevice
- the own device containing the idoutputStream
- the outputstream to send throughjava.io.IOException
- if something goes wrong