B C D E G I L M N P R S T

B

ByteUtils - Class in com.mindtree.techworks.insight.remoteprotocol.util
Util class for byte manipulation.
ByteUtils() - Constructor for class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
 

C

checkPacketDataSize(byte[]) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Checks the packet data size and ensures that this is less than MAX_PACKET_DATA_SIZE.
com.mindtree.techworks.insight.remoteprotocol - package com.mindtree.techworks.insight.remoteprotocol
 
com.mindtree.techworks.insight.remoteprotocol.spi - package com.mindtree.techworks.insight.remoteprotocol.spi
 
com.mindtree.techworks.insight.remoteprotocol.util - package com.mindtree.techworks.insight.remoteprotocol.util
 

D

DataPacket - Class in com.mindtree.techworks.insight.remoteprotocol.spi
Represents a data packet sent to Insight.
DataPacket(PacketDataContent, PacketHeader) - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Creates a DataPacket instance
DataPacket() - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Creates an instance of DataPacket

E

equals(Object) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Equality is checked only on the type field in this class, if the object passed is of MessageType type, else the equality check is delegated to the superclass.

G

getByteArrayForCharacterArray(char[]) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Creates a byte array representing the input character array.
getByteArrayForInt(int) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Creates a byte array for an int.
getByteArrayForShort(short) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Creates a byte array for a short.
getByteArrayForString(String) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Creates a byte array representing the Input String.
getDataLength() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Returns the dataLength
getDataPacketAsByteArray() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Returns the entire packet as a byte array.
getFlags() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Returns the flags
getHeaderChecksum() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Returns the headerChecksum
getLength() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Returns the length of the data in the packet.
getLogMessage() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.LogMessageDataContent
Returns the log message as a string.
getMessageSequence() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Returns the messageSequence
getMessageType() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Returns the messageType
getMessageType() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Returns the messageType
getMessageTypeForByte(byte) - Static method in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Gets the MessageType for a short value of the type passed.
getName() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Returns the name of the message type
getNamespace() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.StartupMessageDataContent
Returns the namespace
getPacketData() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Returns the packetData.
getPacketDataContent() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Returns the content of the packet
getPacketHeader() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Returns the packet's header
getPacketHeaderAsByteArray() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Gets the packet Header as a byte array
getPacketHeaderLength() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Returns the packetHeaderLength
getSourceIdentifier() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Returns the sourceIdentifier
getType() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Returns the type of the message
getVersion() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Returns the version
getVersion() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.StartupMessageDataContent
Returns the version

I

INSIGHT_PACKET_IDENTIFIER - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
The identifier for an Insight Packet.
isRetransmission() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.StartupMessageDataContent
Returns the retransmission

L

LOG_DATA_MESSAGE - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Identifies a message with log data
LOG_DATA_MESSAGE_TYPE - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Identifies a message containing log data
LogMessageDataContent - Class in com.mindtree.techworks.insight.remoteprotocol.spi
This the data content of a data packet containig log data.
LogMessageDataContent() - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.LogMessageDataContent
Creates an instance of LogMessageDataContent object.
LogMessageDataContent(byte[], PacketHeader) - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.LogMessageDataContent
Creates an instance of LogMessageDataContent object

M

MAX_PACKET_DATA_SIZE - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
The maximum number of bytes a data packet can have.
MAX_PACKET_SIZE - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Maximum number of bytes a packet should have.
MessageType - Class in com.mindtree.techworks.insight.remoteprotocol.spi
Type Constants class for identifying message types.
messageType - Variable in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Identifies the type of this message packet.

N

NullMessageDataContent - Class in com.mindtree.techworks.insight.remoteprotocol.spi
This is the data content for packets where all the information is carried in the Header itself.
NullMessageDataContent() - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.NullMessageDataContent
Creates a new instance of NullMessageDataContent
NullMessageDataContent(byte[], PacketHeader) - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.NullMessageDataContent
Creates a new instance of NullMessageDataContent

P

PACKET_HEADER_LENGTH - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
The packet header length for this version.
packetData - Variable in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Packet Data without the header
PacketDataContent - Class in com.mindtree.techworks.insight.remoteprotocol.spi
Abstract class representing the data content in the DataPacket.
PacketDataContent() - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Creates an instance of PacketDataContent object
PacketDataContent(byte[], PacketHeader) - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Creates an instance of PacketDataContent object.
PacketDataSizeOverLimitsException - Exception in com.mindtree.techworks.insight.remoteprotocol
This is an exception thrown to indicate that there is more data than is allowed in the packet.
PacketDataSizeOverLimitsException(String) - Constructor for exception com.mindtree.techworks.insight.remoteprotocol.PacketDataSizeOverLimitsException
Creates an instance of this class
PacketHeader - Class in com.mindtree.techworks.insight.remoteprotocol.spi
This is the common Header for all DataPackets.
PacketHeader() - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Creates an instance of the packet header
PacketHeader(byte[]) - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Creates an instance of the header from the byte array passed in.
putBytesInArrayForInt(int, byte[], int) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Creates a byte array for an int.
putBytesInArrayForShort(short, byte[], int) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Creates a byte array for a short.

R

readIntFromByteArray(byte[], int) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Reads an int value from a byte array.
readShortFromByteArray(byte[], int) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Reads a short value from a byte array.
readStringFromByteArray(byte[], int, int) - Static method in class com.mindtree.techworks.insight.remoteprotocol.util.ByteUtils
Decodes a string value from the byte Array passed in.
recalculateHeader(PacketDataContent) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Recalculates the Header for this packet using the PacketDataContent field passed in.
recalculatePacketHeader() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Recalculates the packet's data relative content.
RemoteProtocolException - Exception in com.mindtree.techworks.insight.remoteprotocol
All exceptions thrown by the RemoteProtocol classes will be wrapped in this exception.
RemoteProtocolException(String, Throwable) - Constructor for exception com.mindtree.techworks.insight.remoteprotocol.RemoteProtocolException
Creates an instance of the exception
RemoteProtocolException(String) - Constructor for exception com.mindtree.techworks.insight.remoteprotocol.RemoteProtocolException
Creates an instance of the exception

S

setDataLength(int) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Sets the dataLength
setFlags(byte) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Sets the flags
setLogMessage(String) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.LogMessageDataContent
Sets the log message in the packet data.
setMessageSequence(short) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Sets the messageSequence
setMessageType(MessageType) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Sets the messageType field
setMessageType(MessageType) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Sets the messageType
setNamespace(String) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.StartupMessageDataContent
Sets the namespace
setPacketData(byte[]) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.NullMessageDataContent
Overrides the superclasses setPacketData method.
setPacketData(byte[]) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
Sets the packetData field
setPacketData(byte[]) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.StartupMessageDataContent
Sets the packet data.
setPacketDataContent(PacketDataContent) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Sets the content of the packet
setPacketHeader(PacketHeader) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.DataPacket
Sets the packet's header
setRetransmission(boolean) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.StartupMessageDataContent
Sets the retransmission
setSourceIdentifier(short) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Sets the sourceIdentifier
setVersion(byte) - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.PacketHeader
Sets the version
SHUTDOWN_MESSAGE - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Identifies a shutdown message
SHUTDOWN_MESSAGE_TYPE - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Identifies a shutdown message
STARTUP_MESSAGE - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Identifies a startup message
STARTUP_MESSAGE_TYPE - Static variable in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Identifies a startup message
StartupMessageDataContent - Class in com.mindtree.techworks.insight.remoteprotocol.spi
The content type of a startup message.
StartupMessageDataContent() - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.StartupMessageDataContent
Creates a new StartupMessageDataContent object.
StartupMessageDataContent(byte[], PacketHeader) - Constructor for class com.mindtree.techworks.insight.remoteprotocol.spi.StartupMessageDataContent
Creates an instance of the StartupMessageDataContent

T

toString() - Method in class com.mindtree.techworks.insight.remoteprotocol.spi.MessageType
Returns the name of the type.

B C D E G I L M N P R S T

Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.