Package | Description |
---|---|
com.cinterion.io | |
com.cinterion.mqtt | |
com.cinterion.ssl | |
ej.bon | |
ej.ecom.io | |
ej.ecom.mobile | |
ej.gnss | |
ej.storage | |
java.io | |
java.lang | |
java.security | |
java.util |
Modifier and Type | Method and Description |
---|---|
String |
ATCommand.breakConnection()
This function switches the module, when in CSD data call, back from
transparent data mode to AT command mode.
|
int |
OutPort.getValue()
Gets the current value of an instance of a GPIO port of output pins.
|
int |
InPort.getValue()
Gets the current value of an instance of a GPIO port of input pins.
|
void |
OutPort.release()
Releases an instance of a GPIO port of output pins.
|
void |
InPort.release()
Releases an instance of a GPIO port of input pins.
|
void |
ATCommand.release()
Release resources locked by the ATCommand class.
|
void |
ATCommand.setDTR(boolean SignalState)
Set the state of the DTR (Data Terminal Ready) signal of the devices AT
channel.
|
void |
OutPort.setValue(int portValue)
Sets the current value of an instance of a GPIO port of output pins.
|
void |
InPort.startPolling()
Starts polling of a GPIO port of input pins.
|
void |
InPort.stopPolling()
Stops polling of a GPIO port of input pins.
|
Constructor and Description |
---|
InPort(Vector<String> pins)
Creates a new instance of a GPIO port of input pins.
|
OutPort(Vector<String> pins,
Vector<Integer> values)
Creates a new instance of a GPIO port of output pins.
|
Modifier and Type | Method and Description |
---|---|
void |
MqttClient.connect(MqttConfig config)
Connects to an MQTT broker.
|
void |
MqttClient.publish(String topic,
byte[] payload,
int qos,
boolean retained)
Publishes a message to a particular topic.
|
short |
MqttClient.publishGetMsgId(String topic,
byte[] payload,
int qos,
boolean retained)
Publishes a message to a particular topic.
|
void |
MqttClient.subscribe(String topic,
int qos)
Subscribes to a topic.
|
void |
MqttClient.unsubscribe(String topic)
Unsubscribes from a topic.
|
Modifier and Type | Method and Description |
---|---|
static void |
SslStorage.convertAndStore(CAList caList,
String name)
Converts CA lists from .PEM to binary format and stores them in nonvolatile
memory in encrypted form.
|
static void |
SslStorage.convertAndStore(Certificate certInfo,
String certName)
Converts certificates from .PEM to binary format and stores them in
nonvolatile memory in encrypted form.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceBuffer.align(int nbBytes)
Force to align position on given number of bytes.
|
int |
ResourceBuffer.available()
Returns the available number of bytes that can be read (or skipped over) from
this buffer.
|
void |
ResourceBuffer.close()
Closes this resource and releases any system resources associated with the
resource.
|
int |
ResourceArray.elementAt(int index)
Reads the element at given index.
|
int[] |
ResourceArray.elements()
Reads all array elements.
|
ResourceArray |
ResourceBuffer.readArray()
Reads a
ResourceArray and increments position in the data. |
boolean |
ResourceBuffer.readBoolean()
Reads a boolean and increments position in the data.
|
byte |
ResourceBuffer.readByte()
Reads a byte and increments position in the data.
|
char |
ResourceBuffer.readChar()
Reads a char and increments position in the data.
|
int |
ResourceBuffer.readInt()
Reads an integer and increments position in the data.
|
short |
ResourceBuffer.readShort()
Reads a short and increments position in the data.
|
String |
ResourceBuffer.readString()
Reads a
String and increments position in the data. |
long |
ResourceBuffer.readVarLong()
Reads a 64-bits signed integer and increments position in the data.
|
int |
ResourceBuffer.readVarSInt()
Reads a 32-bits signed integer and increments position in the data.
|
int |
ResourceBuffer.readVarUInt()
Reads a 32-bits unsigned integer and increments position in the data.
|
void |
ResourceBuffer.seek(long offset)
Sets the buffer position indicator.
|
ResourceBuffer |
ResourceArray.seekToElementPointer(int index)
Modify the position of the
ResourceBuffer used to create this
ResourceArray . |
Constructor and Description |
---|
ResourceBuffer(String name)
Opens a
ResourceBuffer on the resource described by its path. |
Modifier and Type | Method and Description |
---|---|
InputStream |
CommConnection.openInputStream()
Returns an
InputStream which implements the BitsInput interface. |
OutputStream |
CommConnection.openOutputStream()
Returns an
OutputStream which implements the BitsOutput interface. |
int |
BitsInput.readBits(boolean signExtends)
Reads the next value of data from the input stream.
|
int |
BitsInput.readBits(byte[] data,
boolean signExtends)
Reads some number of values from the input stream and stores them into
the buffer array
data . |
int |
BitsInput.readBits(byte[] data,
int off,
int len,
boolean signExtends)
Reads up to
len values of data from the input stream into an array of
values. |
int |
BitsInput.readBits(int[] data,
boolean signExtends)
Reads some number of values from the input stream and stores them into
the buffer array
data . |
int |
BitsInput.readBits(int[] data,
int off,
int len,
boolean signExtends)
Reads up to
len values of data from the input stream into an array of
values. |
int |
BitsInput.readBits(short[] data,
boolean signExtends)
Reads some number of values from the input stream and stores them into
the buffer array
data . |
int |
BitsInput.readBits(short[] data,
int off,
int len,
boolean signExtends)
Reads up to
len values of data from the input stream into an array of
values. |
void |
BitsOutput.writeBits(byte[] data,
boolean signExtends)
Writes
data.length data from the specified short array to this output
stream. |
void |
BitsOutput.writeBits(byte[] data,
int off,
int len,
boolean signExtends)
Writes
len data from the specified short array starting at offset off to
this output stream. |
void |
BitsOutput.writeBits(int val)
The data to send is masked using the following formula:
val &= (1 << getLength()) - 1 |
void |
BitsOutput.writeBits(int[] data)
Writes
data.length data from the specified integer array to this output
stream. |
void |
BitsOutput.writeBits(int[] data,
int off,
int len)
Writes
len data from the specified integer array starting at offset off to
this output stream. |
void |
BitsOutput.writeBits(short[] data,
boolean signExtends)
Writes
data.length data from the specified short array to this output
stream. |
void |
BitsOutput.writeBits(short[] data,
int off,
int len,
boolean signExtends)
Writes
len data from the specified short array starting at offset off to
this output stream. |
Modifier and Type | Class and Description |
---|---|
class |
PDPSessionException
This exception is thrown by PDPSession to indicate that an I/O error occurred during a PDP session.
|
Modifier and Type | Method and Description |
---|---|
int |
ATConnection.read(byte[] data,
int offset,
int length)
Reads up to len bytes of data from the connection into an array of bytes.
|
void |
ATConnection.sendCommand(byte[] data,
int offset,
int length)
Send AT command from the connection.
|
void |
ATConnection.sendCommand(String command)
Send AT command from the connection.
|
Modifier and Type | Method and Description |
---|---|
void |
GnssManager.closeManager()
Close the manager instance.
|
void |
GnssManager.readPosition()
Read the position.
|
void |
GnssManager.switchOff()
SwitchOff Positioning polling on the system.
|
void |
GnssManager.switchOn()
SwitchOn Positioning polling on the system.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
Storage.append(String id)
Appends some data to an entry referenced with an ID.
|
boolean |
Storage.exists(String id)
Tests whether an entry exists for this ID.
|
String[] |
Storage.getIds()
Returns all IDs of the stored entries.
|
long |
Storage.getSize(String id)
Returns the size of the entry stored with an ID.
|
InputStream |
Storage.load(String id)
Loads the data stored with a specific ID or
null if there is none. |
OutputStream |
Storage.modify(String id,
int offset)
Modifies the entry that is referenced by an ID.
|
void |
Storage.move(String sourceId,
String destinationId)
Changes the ID of an entry.
|
void |
Storage.remove(String id)
Removes the entry stored with an ID.
|
OutputStream |
Storage.store(String id)
Stores data that will be referenced with an ID.
|
Modifier and Type | Class and Description |
---|---|
class |
EOFException
Signals that an end of file or end of stream has been reached unexpectedly during input.
|
class |
FileNotFoundException |
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
class |
UnsupportedEncodingException
The Character Encoding is not supported.
|
class |
UTFDataFormatException
Signals that a malformed string in modified UTF-8
format has been read in a data input stream or by any class that implements the data input
interface.
|
Modifier and Type | Method and Description |
---|---|
Writer |
Writer.append(char c)
Appends the specified character to this writer.
|
Writer |
Writer.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
Writer |
Writer.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this writer.
|
int |
InputStream.available()
Returns an estimate of the number of bytes that can be read (or skipped over) from this input
stream without blocking by the next invocation of a method for this input stream.
|
int |
FilterInputStream.available()
Returns an estimate of the number of bytes that can be read (or skipped over) from this input
stream without blocking by the next caller of a method for this input stream.
|
int |
FileInputStream.available()
Returns an estimate of the number of remaining bytes that can be read (or skipped over) from this input stream
without blocking by the next invocation of a method for this input stream.
|
abstract void |
Writer.close()
Closes the stream, flushing it first.
|
abstract void |
Reader.close()
Closes the stream and releases any system resources associated with it.
|
void |
OutputStreamWriter.close()
Close the stream.
|
void |
OutputStream.close()
Closes this output stream and releases any system resources associated with this stream.
|
void |
InputStreamReader.close()
Close the stream.
|
void |
InputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
FilterOutputStream.close()
Closes this output stream and releases any system resources associated with the stream.
|
void |
FilterInputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
Closeable.close()
Closes this stream and releases any system resources associated with it.
|
void |
ByteArrayOutputStream.close()
Closing a ByteArrayOutputStream has no effect.
|
void |
ByteArrayInputStream.close()
Closing a ByteArrayInputStream has no effect.
|
void |
FileOutputStream.close()
Closes this file output stream and releases any system resources associated with this stream.
|
void |
FileInputStream.close()
Closes this file input stream and releases any system resources associated with the stream.
|
boolean |
File.createNewFile()
Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does
not yet exist.
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its
name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its
name.
|
abstract void |
Writer.flush()
Flushes the stream.
|
void |
OutputStreamWriter.flush()
Flushes the stream.
|
void |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out.
|
void |
Flushable.flush()
Flushes this stream by writing any buffered output to the underlying stream.
|
void |
FilterOutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
|
void |
DataOutputStream.flush()
Flushes this data output stream.
|
File |
File.getCanonicalFile()
Returns the canonical form of this abstract pathname.
|
String |
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname.
|
void |
Reader.mark(int readAheadLimit)
Marks the present position in the stream.
|
int |
Reader.read()
Reads a single character.
|
int |
InputStreamReader.read()
Reads a single character.
|
abstract int |
InputStream.read()
Reads the next byte of data from the input stream.
|
int |
FilterInputStream.read()
Reads the next byte of data from this input stream.
|
int |
FileInputStream.read()
Reads a byte of data from this input stream.
|
int |
InputStream.read(byte[] b)
Reads some number of bytes from the input stream and stores them into the buffer array
b . |
int |
FilterInputStream.read(byte[] b)
Reads up to
byte.length bytes of data from this input stream into an array of bytes. |
int |
DataInputStream.read(byte[] b)
Reads some number of bytes from the contained input stream and stores them into the buffer array
b . |
int |
FileInputStream.read(byte[] b)
Reads up to
b.length bytes of data from this input stream into an array of bytes. |
int |
InputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the input stream into an array of bytes. |
int |
FilterInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream into an array of bytes. |
int |
DataInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the contained input stream into an array of
bytes. |
int |
FileInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream into an array of bytes. |
int |
Reader.read(char[] cbuf)
Reads characters into an array.
|
abstract int |
Reader.read(char[] cbuf,
int off,
int len)
Reads characters into a portion of an array.
|
int |
InputStreamReader.read(char[] cbuf,
int offset,
int length)
Reads characters into a portion of an array.
|
boolean |
DataInputStream.readBoolean()
See the general contract of the
readBoolean method of DataInput . |
boolean |
DataInput.readBoolean()
Reads one input byte and returns
true if that byte is nonzero, false if
that byte is zero. |
byte |
DataInputStream.readByte()
See the general contract of the
readByte method of DataInput . |
byte |
DataInput.readByte()
Reads and returns one input byte.
|
char |
DataInputStream.readChar()
See the general contract of the
readChar method of DataInput . |
char |
DataInput.readChar()
Reads two input bytes and returns a
char value. |
double |
DataInputStream.readDouble()
See the general contract of the
readDouble method of DataInput . |
double |
DataInput.readDouble()
Reads eight input bytes and returns a
double value. |
float |
DataInputStream.readFloat()
See the general contract of the
readFloat method of DataInput . |
float |
DataInput.readFloat()
Reads four input bytes and returns a
float value. |
void |
DataInputStream.readFully(byte[] b)
See the general contract of the
readFully method of DataInput . |
void |
DataInput.readFully(byte[] b)
Reads some bytes from an input stream and stores them into the buffer array
b . |
void |
DataInputStream.readFully(byte[] b,
int off,
int len)
See the general contract of the
readFully method of DataInput . |
void |
DataInput.readFully(byte[] b,
int off,
int len)
Reads
len bytes from an input stream. |
int |
DataInputStream.readInt()
See the general contract of the
readInt method of DataInput . |
int |
DataInput.readInt()
Reads four input bytes and returns an
int value. |
long |
DataInputStream.readLong()
See the general contract of the
readLong method of DataInput . |
long |
DataInput.readLong()
Reads eight input bytes and returns a
long value. |
short |
DataInputStream.readShort()
See the general contract of the
readShort method of DataInput . |
short |
DataInput.readShort()
Reads two input bytes and returns a
short value. |
int |
DataInputStream.readUnsignedByte()
See the general contract of the
readUnsignedByte method of DataInput . |
int |
DataInput.readUnsignedByte()
Reads one input byte, zero-extends it to type
int , and returns the result, which is
therefore in the range 0 through 255 . |
int |
DataInputStream.readUnsignedShort()
See the general contract of the
readUnsignedShort method of DataInput . |
int |
DataInput.readUnsignedShort()
Reads two input bytes and returns an
int value in the range 0 through
65535 . |
String |
DataInputStream.readUTF()
See the general contract of the
readUTF method of DataInput . |
String |
DataInput.readUTF()
Reads in a string that has been encoded using a modified UTF-8
format.
|
static String |
DataInputStream.readUTF(DataInput in)
Reads from the stream
in a representation of a Unicode character string encoded in
modified UTF-8 format; this string of characters is
then returned as a String . |
boolean |
Reader.ready()
Tells whether this stream is ready to be read.
|
boolean |
InputStreamReader.ready()
Tells whether this stream is ready to be read.
|
void |
Reader.reset()
Resets the stream.
|
void |
InputStream.reset()
Repositions this stream to the position at the time the
mark method was last called
on this input stream. |
void |
FilterInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called
on this input stream. |
long |
Reader.skip(long n)
Skips characters.
|
long |
InputStream.skip(long n)
Skips over and discards
n bytes of data from this input stream. |
long |
FilterInputStream.skip(long n)
Skips over and discards
n bytes of data from the input stream. |
long |
FileInputStream.skip(long n)
Skips over and discards
n bytes of data from the input stream. |
int |
DataInputStream.skipBytes(int n)
See the general contract of the
skipBytes method of DataInput . |
int |
DataInput.skipBytes(int n)
Makes an attempt to skip over
n bytes of data from the input stream, discarding the
skipped bytes. |
void |
OutputStream.write(byte[] b)
Writes
b.length bytes from the specified byte array to this output stream. |
void |
FilterOutputStream.write(byte[] b)
Writes
b.length bytes to this output stream. |
void |
DataOutput.write(byte[] b)
Writes to the output stream all the bytes in array
b . |
void |
FileOutputStream.write(byte[] b)
Writes
b.length bytes from the specified byte array to this file output stream. |
void |
OutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array starting at offset off
to this output stream. |
void |
FilterOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array starting at offset
off to this output stream. |
void |
DataOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array starting at offset off
to the underlying output stream. |
void |
DataOutput.write(byte[] b,
int off,
int len)
Writes
len bytes from array b , in order, to the output stream. |
void |
FileOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array starting at offset off to this file
output stream. |
void |
Writer.write(char[] cbuf)
Writes an array of characters.
|
abstract void |
Writer.write(char[] cbuf,
int off,
int len)
Writes a portion of an array of characters.
|
void |
OutputStreamWriter.write(char[] cbuf,
int off,
int len)
Writes a portion of an array of characters.
|
void |
Writer.write(int c)
Writes a single character.
|
void |
OutputStreamWriter.write(int c)
Writes a single character.
|
abstract void |
OutputStream.write(int b)
Writes the specified byte to this output stream.
|
void |
FilterOutputStream.write(int b)
Writes the specified
byte to this output stream. |
void |
DataOutputStream.write(int b)
Writes the specified byte (the low eight bits of the argument
b ) to the underlying
output stream. |
void |
DataOutput.write(int b)
Writes to the output stream the eight low-order bits of the argument
b . |
void |
FileOutputStream.write(int b)
Writes the specified byte to this file output stream.
|
void |
Writer.write(String str)
Writes a string.
|
void |
Writer.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
OutputStreamWriter.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
DataOutputStream.writeBoolean(boolean v)
Writes a
boolean to the underlying output stream as a 1-byte value. |
void |
DataOutput.writeBoolean(boolean v)
Writes a
boolean value to this output stream. |
void |
DataOutputStream.writeByte(int v)
Writes out a
byte to the underlying output stream as a 1-byte value. |
void |
DataOutput.writeByte(int v)
Writes to the output stream the eight low- order bits of the argument
v . |
void |
DataOutputStream.writeChar(int v)
Writes a
char to the underlying output stream as a 2-byte value, high byte first. |
void |
DataOutput.writeChar(int v)
Writes a
char value, which is comprised of two bytes, to the output stream. |
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of characters.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string
s , to the output stream, in order, two bytes
per character. |
void |
DataOutputStream.writeDouble(double v)
Converts the double argument to a
long using the doubleToLongBits
method in class Double , and then writes that long value to the
underlying output stream as an 8-byte quantity, high byte first. |
void |
DataOutput.writeDouble(double v)
Writes a
double value, which is comprised of eight bytes, to the output stream. |
void |
DataOutputStream.writeFloat(float v)
Converts the float argument to an
int using the floatToIntBits method
in class Float , and then writes that int value to the underlying output
stream as a 4-byte quantity, high byte first. |
void |
DataOutput.writeFloat(float v)
Writes a
float value, which is comprised of four bytes, to the output stream. |
void |
DataOutputStream.writeInt(int v)
Writes an
int to the underlying output stream as four bytes, high byte first. |
void |
DataOutput.writeInt(int v)
Writes an
int value, which is comprised of four bytes, to the output stream. |
void |
DataOutputStream.writeLong(long v)
Writes a
long to the underlying output stream as eight bytes, high byte first. |
void |
DataOutput.writeLong(long v)
Writes a
long value, which is comprised of eight bytes, to the output stream. |
void |
DataOutputStream.writeShort(int v)
Writes a
short to the underlying output stream as two bytes, high byte first. |
void |
DataOutput.writeShort(int v)
Writes two bytes to the output stream to represent the value of the argument.
|
void |
ByteArrayOutputStream.writeTo(OutputStream out)
Writes the complete contents of this byte array output stream to the specified output stream
argument, as if by calling the output stream's write method using
out.write(buf, 0, count) . |
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using
modified UTF-8 encoding in a machine-independent
manner.
|
void |
DataOutput.writeUTF(String s)
Writes two bytes of length information to the output stream, followed by the
modified UTF-8 representation of every character in
the string
s . |
Modifier and Type | Method and Description |
---|---|
Appendable |
Appendable.append(char c)
Appends the specified character to this Appendable.
|
Appendable |
Appendable.append(CharSequence csq)
Appends the specified character sequence to this Appendable.
|
Appendable |
Appendable.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this Appendable.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
KeyStoreSpi.engineLoad(InputStream stream,
char[] password)
Loads the keystore from the given input stream.
|
void |
KeyStore.load(InputStream stream,
char[] password)
Loads this KeyStore from the given input stream.
|
Modifier and Type | Method and Description |
---|---|
void |
Properties.load(InputStream inStream)
Reads a property list (key and element pairs) from the input
byte stream.
|