Index

A B C D E F G H I J L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AcceptType - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Accept Type.
addDelayedEvent(DeplayedEvent) - Method in interface cl.netswitch.lib.server.ServerContext
Adds a delayed event to this queue of delayed events.
addField(FieldType, String, int, int, String) - Method in class cl.netswitch.lib.layout.Layout
Appends a new field to the collection of fields of this layout.
addPendingReply(PendingReply) - Method in interface cl.netswitch.lib.server.ServerContext
Adds the supplied pending reply to a shared table that is accessible to all threads controlled by the server context of this channel.
addRequestListener(String, RequestListener) - Method in class cl.netswitch.lib.server.ServerChannel
Registers a listener for request identified by name.
afterInboundReceived(FilterContext, Message) - Method in interface cl.netswitch.lib.channel.ChannelFilter
Called after an inbound message is received.
allocateWaiter() - Method in interface cl.netswitch.lib.server.ServerContext
Returns next available Waiter creating one if necessary.
ALPHA - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Alphanumeric layout field (A).
append(char) - Method in class cl.netswitch.lib.util.UStringWriter
Appends the specified character to this writer.
append(CharSequence) - Method in class cl.netswitch.lib.util.UStringWriter
Appends the specified character sequence to this writer.
append(CharSequence, int, int) - Method in class cl.netswitch.lib.util.UStringWriter
Appends a subsequence of the specified character sequence to this writer.
authenticate(String, String, String) - Method in interface cl.netswitch.lib.channel.CodecContext
Authenticates the supplied credentials in the given realm.
Authorization - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Authorization.
available() - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Returns the number of remaining bytes that can be read (or skipped over) from this input stream.
await() - Method in class cl.netswitch.lib.aio.Waiter
Causes the current thread to wait until it is signalled or interrupted.
awaitNanos(long) - Method in class cl.netswitch.lib.aio.Waiter
Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses.

B

Base64 - Class in cl.netswitch.lib.util
Base64 encoders and decoders.
Beans - Class in cl.netswitch.lib.util
Provides static utility methods that operate on Java beans.
beforeOutboundSent(FilterContext, Message) - Method in interface cl.netswitch.lib.channel.ChannelFilter
Called before an outbound message is sent.
BIG_DECIMAL - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a BigDecimal.
BIG_INTEGER - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a BigInteger.
BOOLEAN - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a Boolean.
Buffers - Class in cl.netswitch.lib.util
Provides static utility methods that operate on ByteBuffers.
BYTE - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a Byte.
BYTE_ARRAY - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a byte[].
ByteArray - Class in cl.netswitch.lib.util
A random and sequential accessible array of zero or more bytes.
ByteArray(byte[]) - Constructor for class cl.netswitch.lib.util.ByteArray
Creates a new ByteArray instance with supplied bytes.
ByteArray(byte[], int, int) - Constructor for class cl.netswitch.lib.util.ByteArray
Creates a new ByteArray instance with supplied bytes.
ByteArray(int) - Constructor for class cl.netswitch.lib.util.ByteArray
Creates a new ByteArray instance of specified size.
ByteArray(ByteBuffer) - Constructor for class cl.netswitch.lib.util.ByteArray
Creates a new ByteArray instance with supplied ByteBuffer.
bytesToHexBytes(byte[]) - Static method in class cl.netswitch.lib.util.Convert
Returns the hexadecimal digits representing the supplied byte array.
bytesToHexStr(byte[]) - Static method in class cl.netswitch.lib.util.Convert
Returns an hexadecimal string representing the supplied byte array.

C

cancelTimer() - Method in class cl.netswitch.lib.server.ServerChannel
Cancels the execution of the handleTimer method.
changeDefaultFormatters() - Static method in class cl.netswitch.lib.util.LogFormatter
Deprecated.
changeDefaultFormatters() - Static method in class cl.netswitch.lib.util.Logging
Changes the formatters of ConsoleHandler and FileHandler handlers by a LogFormatter.
changeDefaultFormatters(Formatter) - Static method in class cl.netswitch.lib.util.Logging
Changes the formatters of ConsoleHandler and FileHandler handlers by supplied formatter.
changeDefaultFormatters(Formatter, boolean) - Static method in class cl.netswitch.lib.util.Logging
Changes the formatters of ConsoleHandler and FileHandler handlers by the supplied formatter.
ChannelBase - Class in cl.netswitch.lib.aio
Asynchronous bidirectional communication channel with NetSwitch server.
ChannelBase() - Constructor for class cl.netswitch.lib.aio.ChannelBase
Constructs a new ChannelBase instance.
ChannelCodec - Interface in cl.netswitch.lib.channel
Encodes and decodes messages sent through a communication channel.
ChannelDecoder - Interface in cl.netswitch.lib.channel
Decodes a Message from an inbound ByteBuffer.
ChannelEncoder - Interface in cl.netswitch.lib.channel
Encodes an outbound Message into a ByteBuffer.
ChannelExecutor<T> - Interface in cl.netswitch.lib.client
Executes logic using a managed logical channel.
ChannelFilter - Interface in cl.netswitch.lib.channel
Inspects or modifies inbound and outbound Messages of a communication channel.
CHECKSUM - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Checksum pseudo layout field (CS).
cl.netswitch.lib - module cl.netswitch.lib
Provides classes to build applications and components that interact with a NetSwitch server.
cl.netswitch.lib.aio - package cl.netswitch.lib.aio
Classes and interfaces used to perform asynchronous I/O.
cl.netswitch.lib.channel - package cl.netswitch.lib.channel
Classes and interfaces to build external components that operate inside the NetSwitch server.
cl.netswitch.lib.client - package cl.netswitch.lib.client
Classes and interfaces to build client applications that communicate with a NetSwitch server.
cl.netswitch.lib.console - package cl.netswitch.lib.console
Classes and interfaces that implement the NetSwitch console.
cl.netswitch.lib.dto - package cl.netswitch.lib.dto
Classes and interfaces used to transfer data between endpoints.
cl.netswitch.lib.jmx - package cl.netswitch.lib.jmx
Classes and interfaces used by clients that monitor NetSwitch servers.
cl.netswitch.lib.layout - package cl.netswitch.lib.layout
Classes and interfaces to read and update formatted text messages.
cl.netswitch.lib.message - package cl.netswitch.lib.message
Classes and interfaces to exchange information between applications and a NetSwitch server.
cl.netswitch.lib.server - package cl.netswitch.lib.server
Classes and interfaces to build server applications that communicate with a NetSwitch server.
cl.netswitch.lib.util - package cl.netswitch.lib.util
Classes and interfaces that implement general utility services.
clear() - Method in class cl.netswitch.lib.aio.Waiter
Clears this waiter and release resources.
clear() - Static method in class cl.netswitch.lib.client.LogicalChannels
Closes and releases all existing channel pools, and clears the properties of logical channels.
clear() - Method in class cl.netswitch.lib.layout.LayoutLoader
Clears (removes) all layouts from the cache.
clear() - Method in class cl.netswitch.lib.message.Message
Resets all the fields of this Message to their default value.
clear() - Method in interface cl.netswitch.lib.server.ExecutionStats
Clears the execution statistics.
clear() - Method in class cl.netswitch.lib.util.ByteArray
Sets the values of readIndex and writeIndex to 0.
clearLabels() - Method in class cl.netswitch.lib.message.Message
Removes all defined labels from this Message.
clearProperties() - Method in class cl.netswitch.lib.message.Message
Removes all defined properties from this Message.
ClientBase - Class in cl.netswitch.lib.client
Implements the common logic of a client application.
ClientBase() - Constructor for class cl.netswitch.lib.client.ClientBase
Constructs a new ClientBase instance.
ClientBase.Action - Interface in cl.netswitch.lib.client
Executes the logic of a client action using a connected channel.
ClientChannel - Class in cl.netswitch.lib.client
Communication channel between a client application and the NetSwitch server.
ClientChannel() - Constructor for class cl.netswitch.lib.client.ClientChannel
Constructs a new ClientChannel instance.
ClientException - Exception in cl.netswitch.lib.client
Signals that a client error of some kind has occurred.
ClientException() - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException instance.
ClientException(int) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with an error code.
ClientException(int, Throwable) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with an error code and cause.
ClientException(String) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with a message.
ClientException(String, int) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with an error message and error code.
ClientException(String, int, Throwable) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with an error message, error code and cause.
ClientException(String, String) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with an error and user message.
ClientException(String, String, int) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with an error message, user message and error code.
ClientException(String, String, int, Throwable) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with an error message, user message, error code and cause.
ClientException(String, String, Throwable) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with an error message, user message and cause.
ClientException(String, Throwable) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with a message and cause.
ClientException(Throwable) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException with a cause.
clone() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns a "deep" copy of this LayoutMessage.
close() - Method in class cl.netswitch.lib.aio.ChannelBase
Close this channel, relinquishing any underlying resources.
close() - Method in class cl.netswitch.lib.client.ClientChannel
Close this channel, relinquishing any underlying resources.
close() - Method in class cl.netswitch.lib.client.LogicalChannel
Closes this resource, relinquishing any underlying resources.
close() - Method in class cl.netswitch.lib.server.ServerChannel
Close this channel, relinquishing any underlying resources.
close() - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Closing a UByteArrayInputStream has no effect.
close() - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Closing a UByteArrayOutputStream has no effect.
close() - Method in class cl.netswitch.lib.util.UStringWriter
Closes this writer.
CodecContext - Interface in cl.netswitch.lib.channel
Allows a ChannelCodec to communicate with its container.
CodecException - Exception in cl.netswitch.lib.channel
Signals that a encoder/decoder error of some kind has occurred.
CodecException() - Constructor for exception cl.netswitch.lib.channel.CodecException
Constructs a new CodecException instance.
CodecException(int) - Constructor for exception cl.netswitch.lib.channel.CodecException
Constructs a new CodecException instance with an error code.
CodecException(int, Throwable) - Constructor for exception cl.netswitch.lib.channel.CodecException
Constructs a new CodecException instance with an error code and cause.
CodecException(String) - Constructor for exception cl.netswitch.lib.channel.CodecException
Constructs a new CodecException instance with a message.
CodecException(String, int) - Constructor for exception cl.netswitch.lib.channel.CodecException
Constructs a new CodecException instance with a message and error code.
CodecException(String, int, Throwable) - Constructor for exception cl.netswitch.lib.channel.CodecException
Constructs a new CodecException instance with a message, error code and cause.
CodecException(String, Throwable) - Constructor for exception cl.netswitch.lib.channel.CodecException
Constructs a new CodecException instance with a message and cause.
CodecException(Throwable) - Constructor for exception cl.netswitch.lib.channel.CodecException
Constructs a new CodecException instance with a cause.
compareTo(Delayed) - Method in class cl.netswitch.lib.server.DeplayedEvent
Compares this DeplayedEvent with the specified object for order.
compile(String, boolean) - Static method in class cl.netswitch.lib.layout.Layout
Compiles the given specification into a layout.
complete(String) - Method in class cl.netswitch.lib.layout.Layout
Completes the definition of the collection of fields of this layout.
compressBytes(byte[]) - Static method in class cl.netswitch.lib.util.Convert
Returns a compressed representation of the supplied bytes.
compressBytes(byte[], int, int) - Static method in class cl.netswitch.lib.util.Convert
Returns a compressed representation of the specified byte range.
computeUserAuthDigest(String, String) - Method in interface cl.netswitch.lib.channel.CodecContext
Computes the string HEX(MD5(username + ':' + realm + ':' + password)).
connect(String, String) - Method in class cl.netswitch.lib.client.ClientChannel
Connects this ClientChannel to a switch server using supplied name and nameOrUri.
connect(String, String, String, String) - Method in class cl.netswitch.lib.client.ClientChannel
Connects this ClientChannel to a switch server using supplied arguments.
connect(String, Properties) - Method in class cl.netswitch.lib.client.ClientChannel
Connects this ClientChannel to the switch server using supplied name and properties.
connect(URI, String) - Method in class cl.netswitch.lib.aio.ChannelBase
Connects this channel to remote address.
Connect - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Connect message.
connectAndExecute() - Method in class cl.netswitch.lib.client.ClientBase
Connects to HyperNet and executes the specified action.
ConsoleApp - Class in cl.netswitch.lib.console
The NetSwitch Console.
ContentType - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Content Type.
Convert - Class in cl.netswitch.lib.util
Provides static utility methods that perform general conversions.
copy(Object, Object) - Static method in class cl.netswitch.lib.util.Beans
Calls all setters in a destination object with values obtain from matching getters in a source object.
copyFrom(LayoutMessage) - Method in class cl.netswitch.lib.layout.LayoutMessage
Copies all the properties of source into this LayoutMessage.
createMessage() - Method in interface cl.netswitch.lib.channel.CodecContext
Creates and returns a new Message.
createMessage() - Method in interface cl.netswitch.lib.channel.FilterContext
Creates and returns a new Message.

D

DATE - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Date layout field (D).
DATE - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a Date.
decode(char[], int, int, boolean) - Static method in class cl.netswitch.lib.util.Base64
Decodes a byte array from supplied Base64 character sequence.
decodeBasic(char[]) - Static method in class cl.netswitch.lib.util.Base64
Decodes a byte array from supplied Base64 Basic character array.
decodeBasic(char[], int, int) - Static method in class cl.netswitch.lib.util.Base64
Decodes a byte array from supplied Base64 Basic character sequence.
decodeBasic(String) - Static method in class cl.netswitch.lib.util.Base64
Decodes a byte array from supplied Base64 Basic string.
decodeInbound(CodecContext, ByteBuffer) - Method in interface cl.netswitch.lib.channel.ChannelDecoder
Decodes a message from the supplied inbound ByteBuffer.
decodePassword(String, String, String) - Method in class cl.netswitch.lib.server.ServerChannel
Decodes an encoded password using supplied arguments.
decodePassword(String, String, String) - Method in interface cl.netswitch.lib.server.ServerContext
Decodes an encoded password using supplied arguments.
decodeUrlSafe(char[]) - Static method in class cl.netswitch.lib.util.Base64
Decodes a byte array from supplied Base64 URL Safe character array.
decodeUrlSafe(char[], int, int) - Static method in class cl.netswitch.lib.util.Base64
Decodes a byte array from supplied Base64 URL Safe character sequence.
decodeUrlSafe(String) - Static method in class cl.netswitch.lib.util.Base64
Decodes a byte array from supplied Base64 URL Safe string.
DeplayedEvent - Class in cl.netswitch.lib.server
Implements the logic common to all delayed events.
DeplayedEvent(long) - Constructor for class cl.netswitch.lib.server.DeplayedEvent
Constructs a new DeplayedEvent instance.
disableMulticast(String) - Method in class cl.netswitch.lib.client.ClientChannel
Disables the reception of multicast messages identified by name.
disableMulticast(String) - Method in class cl.netswitch.lib.server.ServerChannel
Disables the reception of multicast messages identified by name.
dispatch() - Method in class cl.netswitch.lib.server.DeplayedEvent
Dispatched this DeplayedEvent to the target listener.
dispatchReply(String, Serializable) - Method in class cl.netswitch.lib.server.RequestEvent
Dispatches supplied reply data to the pending reply listener indexed by given key.
DOUBLE - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a Double.
download(String) - Method in class cl.netswitch.lib.layout.LayoutLoader
Downloads the specification of the Layout with the given name.

E

EMPTY_BUFFER - Static variable in class cl.netswitch.lib.util.Buffers
ByteBuffer with zero bytes (empty).
enableMulticast(String, MulticastListener) - Method in class cl.netswitch.lib.client.ClientChannel
Enables the reception of multicast messages identified by name.
enableMulticast(String, MulticastListener) - Method in class cl.netswitch.lib.server.ServerChannel
Enables the reception of multicast messages identified by name.
encode(byte[], int, int, boolean, boolean) - Static method in class cl.netswitch.lib.util.Base64
Encodes supplied byte sequence to a Base64 representation.
encodeBasic(byte[]) - Static method in class cl.netswitch.lib.util.Base64
Encodes supplied byte array to a Base64 Basic representation.
encodeBasic(byte[], int, int) - Static method in class cl.netswitch.lib.util.Base64
Encodes supplied byte sequence to a Base64 Basic representation.
encodeOutbound(CodecContext, Message) - Method in interface cl.netswitch.lib.channel.ChannelEncoder
Encodes the supplied outbound message into a ByteBuffer.
encodeUrlSafe(byte[]) - Static method in class cl.netswitch.lib.util.Base64
Encodes supplied byte array to a Base64 URL Safe representation.
encodeUrlSafe(byte[], int, int) - Static method in class cl.netswitch.lib.util.Base64
Encodes supplied byte sequence to a Base64 URL Safe representation.
EndpointMXBean - Interface in cl.netswitch.lib.jmx
MXBean used to manage and monitor an Endpoint.
equals(Object) - Method in class cl.netswitch.lib.server.DeplayedEvent
Indicates whether some other object is "equal to" this DeplayedEvent.
ERROR - Static variable in class cl.netswitch.lib.message.Message
Completion status indicating error.
ExecStats - Class in cl.netswitch.lib.dto
Provides execution statistics.
ExecStats() - Constructor for class cl.netswitch.lib.dto.ExecStats
Constructs a new ExecStats instance.
ExecStatsList - Class in cl.netswitch.lib.dto
Provides a list of execution statistics.
ExecStatsList() - Constructor for class cl.netswitch.lib.dto.ExecStatsList
Constructs a new ExecStatsList instance.
ExecStatsList(List<ExecStats>) - Constructor for class cl.netswitch.lib.dto.ExecStatsList
Constructs a new ExecStatsList instance with list.
execute(ChannelExecutor<T>) - Static method in class cl.netswitch.lib.client.LogicalChannels
Allocates a logical channel from the default channel pool and executes the supplied channel executor.
execute(ClientChannel) - Method in interface cl.netswitch.lib.client.ClientBase.Action
Executes the logic of a client action using a connected channel.
execute(String[], String) - Method in class cl.netswitch.lib.server.ServerChannel
execute(String, ChannelExecutor<T>) - Static method in class cl.netswitch.lib.client.LogicalChannels
Allocates a logical channel from the specified channel pool and executes the supplied channel executor.
execute(String, Properties, ServerContext) - Method in class cl.netswitch.lib.server.ServerChannel
Starts the execution of this ServerChannel.
executeChannel(LogicalChannel) - Method in interface cl.netswitch.lib.client.ChannelExecutor
Executes logic using a managed logical channel.
executeJsch(JschExecutor<T>) - Method in interface cl.netswitch.lib.server.JschServices
Allocates a connected Jsch (Java Secure Channel) session from the default pool and then executes the supplied executor.
executeJsch(JschExecutor<T>) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a connected Jsch (Java Secure Channel) session from the default pool and then executes the supplied executor.
executeJsch(JschExecutor<T>, String) - Method in interface cl.netswitch.lib.server.JschServices
Allocates a connected Jsch (Java Secure Channel) session from the default pool and then executes the supplied executor.
executeJsch(JschExecutor<T>, String) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a connected Jsch (Java Secure Channel) session from the default pool and then executes the supplied executor.
executeJsch(Session) - Method in interface cl.netswitch.lib.server.JschExecutor
Executes an operation using supplied Java Secure Channel (JSCH).
executeJsch(String, JschExecutor<T>) - Method in interface cl.netswitch.lib.server.JschServices
Allocates a connected Jsch (Java Secure Channel) session from the specified pool and then executes the supplied executor.
executeJsch(String, JschExecutor<T>) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a connected Jsch (Java Secure Channel) session from the specified pool and then executes the supplied executor.
executeJsch(String, JschExecutor<T>, String) - Method in interface cl.netswitch.lib.server.JschServices
Allocates a connected Jsch (Java Secure Channel) session from the specified pool and then executes the supplied executor.
executeJsch(String, JschExecutor<T>, String) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a connected Jsch (Java Secure Channel) session from the specified pool and then executes the supplied executor.
executeJsch(String, String, String, JschExecutor<T>) - Method in interface cl.netswitch.lib.server.ServerContext
Allocates a connected Jsch (Java Secure Channel) session from the specified pool and then executes the supplied executor.
executeSocket(SocketExecutor<T>) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a socket from the default pool and executes the supplied socket executor.
executeSocket(SocketExecutor<T>) - Method in interface cl.netswitch.lib.server.SocketServices
Allocates a socket from the default pool and executes the supplied socket executor.
executeSocket(SocketExecutor<T>, String) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a socket from the default pool and executes the supplied socket executor.
executeSocket(SocketExecutor<T>, String) - Method in interface cl.netswitch.lib.server.SocketServices
Allocates a socket from the default pool and executes the supplied socket executor.
executeSocket(String, SocketExecutor<T>) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a socket from the specified pool and then executes the supplied socket executor.
executeSocket(String, SocketExecutor<T>) - Method in interface cl.netswitch.lib.server.SocketServices
Allocates a socket from the specified pool and then executes the supplied socket executor.
executeSocket(String, SocketExecutor<T>, String) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a socket from the specified pool and then executes the supplied socket executor.
executeSocket(String, SocketExecutor<T>, String) - Method in interface cl.netswitch.lib.server.SocketServices
Allocates a socket from the specified pool and then executes the supplied socket executor.
executeSocket(String, String, String, SocketExecutor<T>) - Method in interface cl.netswitch.lib.server.ServerContext
Allocates a socket from the specified pool and then executes the supplied socket executor.
executeSocket(Socket) - Method in interface cl.netswitch.lib.server.SocketExecutor
Executes network I/O using a managed socket conection.
executeSQL(SQLExecutor<T>) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a connection from the default pool and executes the supplied SQL executor.
executeSQL(SQLExecutor<T>) - Method in interface cl.netswitch.lib.server.SQLServices
Allocates a connection from the default pool and executes the supplied SQL executor.
executeSQL(SQLExecutor<T>, String) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a connection from the default pool and executes the supplied SQL executor.
executeSQL(SQLExecutor<T>, String) - Method in interface cl.netswitch.lib.server.SQLServices
Allocates a connection from the default pool and executes the supplied SQL executor.
executeSQL(String, SQLExecutor<T>) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a connection from the specified pool and then executes the supplied SQL executor.
executeSQL(String, SQLExecutor<T>) - Method in interface cl.netswitch.lib.server.SQLServices
Allocates a connection from the specified pool and then executes the supplied SQL executor.
executeSQL(String, SQLExecutor<T>, String) - Method in class cl.netswitch.lib.server.ServerChannel
Allocates a connection from the specified pool and then executes the supplied SQL executor.
executeSQL(String, SQLExecutor<T>, String) - Method in interface cl.netswitch.lib.server.SQLServices
Allocates a connection from the specified pool and then executes the supplied SQL executor.
executeSQL(String, String, String, SQLExecutor<T>) - Method in interface cl.netswitch.lib.server.ServerContext
Allocates a connection from the specified pool and then executes the supplied SQL executor.
executeSQL(Connection) - Method in interface cl.netswitch.lib.server.SQLExecutor
Executes an SQL statement using a managed database connection.
executeTask(String, String, Callable<T>) - Method in interface cl.netswitch.lib.server.ServerContext
Executes supplied task mantaining statistics indexed by tag.
executeTask(Callable<T>) - Method in class cl.netswitch.lib.server.ServerChannel
Executes supplied task mantaining statistics.
executeTask(Callable<T>, String) - Method in class cl.netswitch.lib.server.ServerChannel
Executes supplied task mantaining statistics with optional taskName.
ExecutionStats - Interface in cl.netswitch.lib.server
Service execution statistics.
exists(String) - Method in class cl.netswitch.lib.layout.Layout
Returns true if the layout field indexed by the supplied name exists in this layout.
exists(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns true if the field indexed by fieldName exists in the Layout of this message.

F

fields() - Method in class cl.netswitch.lib.layout.Layout
Returns an unmodifiable collection with the fields contained in this layout.
FieldType - Enum Class in cl.netswitch.lib.layout
Type of a LayoutField.
FilterContext - Interface in cl.netswitch.lib.channel
Allows a ChannelFilter to communicate with its container.
FilterException - Exception in cl.netswitch.lib.channel
Signals that a filter error of some kind has occurred.
FilterException() - Constructor for exception cl.netswitch.lib.channel.FilterException
Constructs a new FilterException instance.
FilterException(String) - Constructor for exception cl.netswitch.lib.channel.FilterException
Constructs a new FilterException instance with a message.
FilterException(String, Throwable) - Constructor for exception cl.netswitch.lib.channel.FilterException
Constructs a new FilterException instance with a message and cause.
FilterException(Throwable) - Constructor for exception cl.netswitch.lib.channel.FilterException
Constructs a new FilterException instance with a cause.
fine(String, Object...) - Method in class cl.netswitch.lib.aio.ChannelBase
Logs a fine message with supplied format and arguments.
fine(String, Object...) - Method in interface cl.netswitch.lib.channel.CodecContext
Generates a fine log message using supplied arguments.
fine(String, Object...) - Method in interface cl.netswitch.lib.channel.FilterContext
Generates a fine log message using supplied arguments.
fine(String, Object...) - Method in class cl.netswitch.lib.server.ReplyEvent
Logs a fine message with supplied format and arguments.
fine(String, Object...) - Method in class cl.netswitch.lib.server.RequestEvent
Logs a fine message with supplied format and arguments.
FLOAT - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a Float.
flush() - Method in class cl.netswitch.lib.util.UStringWriter
Flushes the stream.
format(String, Object...) - Method in class cl.netswitch.lib.client.ClientBase
Returns a formatted message built using format and arguments.
format(LogRecord) - Method in class cl.netswitch.lib.util.LogFormatter
Returns a formatted string of the supplied log record.
fromAlias(String) - Static method in enum class cl.netswitch.lib.layout.FieldType
Returns the FieldType with the supplied alias.
fromBuffer(ByteBuffer) - Method in class cl.netswitch.lib.message.Message
Decodes all the fields of this Message from supplied ByteBuffer.
fromCode(int) - Static method in enum class cl.netswitch.lib.message.Message.Label
Returns the Label with the specified unique code.
fromCode(int) - Static method in enum class cl.netswitch.lib.message.Message.Type
Returns the Type with the specified unique code.

G

getAddress() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the string presensentation of the endpoint address.
getAlias() - Method in enum class cl.netswitch.lib.layout.FieldType
Returns the alias of this FieldType.
getArguments() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the command arguments supplied to the main() method of this ServerChannel.
getArray() - Method in class cl.netswitch.lib.util.ByteArray
Returns the backing byte array of this array.
getArrayOffset() - Method in class cl.netswitch.lib.util.ByteArray
Returns the offset of the first byte within the backing byte.
getAuthType() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the authentication type (BASIC,DIGEST) or null.
getAuthUser() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the name of the authenticated user or null.
getBigDecimal(String) - Method in class cl.netswitch.lib.message.Message
Returns the big decimal value of the property indexed by name.
getBigInteger(String) - Method in class cl.netswitch.lib.message.Message
Returns the big integer value of the property indexed by name.
getBoolean(String) - Method in class cl.netswitch.lib.message.Message
Returns the boolean value of the property indexed by name.
getBuffer() - Method in class cl.netswitch.lib.util.UStringWriter
Returns the buffer holding the current contents of this writer.
getByte(String) - Method in class cl.netswitch.lib.message.Message
Returns the byte value of the property indexed by name.
getByteArray() - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Returns the backing byte array of this UByteArrayOutputStream.
getBytes() - Method in class cl.netswitch.lib.message.Message
Returns an array of bytes containing the data of this Message.
getBytes(String) - Method in class cl.netswitch.lib.message.Message
Returns the bytes value of the property indexed by name.
getCapacity() - Method in class cl.netswitch.lib.util.ByteArray
Returns the number of bytes this array can contain.
getChar(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the first character of the string value of the index occurence of this field in message.
getChar(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the character value of the field identified by fieldName.
getChar(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the character value of the field identified by fieldName and index.
getClientChannel() - Method in class cl.netswitch.lib.client.MulticastEvent
Returns the client channel of this MulticastEvent.
getClientChannel() - Method in class cl.netswitch.lib.client.ReplyEvent
Returns the client channel of this event.
getCode() - Method in enum class cl.netswitch.lib.message.Message.Label
Returns the unique code of the Label.
getCode() - Method in enum class cl.netswitch.lib.message.Message.Type
Returns the unique code of the Type.
getCompressionThreshold() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the size of the writer queue (messages).
getCompressionThreshold() - Method in interface cl.netswitch.lib.channel.CodecContext
Returns the minimum size that a message must have before it is compressed.
getConnectionCount() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the number of successful connections.
getConnectionErrors() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of connection errors.
getConnectionRejects() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of connection rejects.
getDate(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the date value of the index occurence of this field in message.
getDate(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the date value of the field identified by fieldName.
getDate(String) - Method in class cl.netswitch.lib.message.Message
Returns the date value of the property indexed by name.
getDate(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the date value of the field identified by fieldName and index.
getDefault() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the default value of this field.
getDefaultSignANSI() - Static method in class cl.netswitch.lib.layout.LayoutMessage
Returns true if, by default, numeric fields are stored using the ANSI format.
getDefaultStrict() - Static method in class cl.netswitch.lib.layout.LayoutMessage
Returns true if, by default, message editing is strict.
getDefinedDefault() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the defined default value of this field.
getDelay(TimeUnit) - Method in class cl.netswitch.lib.server.DeplayedEvent
Returns the remaining delay in the given time unit.
getDestination() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the destination of this RequestEvent.
getDocument() - Static method in class cl.netswitch.lib.util.XmlUtil
Create a new instance of a DOM Document object usied to build a DOM trees.
getDouble(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the double value of the index occurence of this field in message.
getDouble(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the double value of the field identified by fieldName.
getDouble(String) - Method in class cl.netswitch.lib.message.Message
Returns the double value of the property indexed by name.
getDouble(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the double value of the field identified by fieldName and index.
getError() - Method in class cl.netswitch.lib.server.RequestErrorEvent
Returns the error thrown while processing the request.
getError() - Method in class cl.netswitch.lib.server.TaskResultEvent
Returns the exception thrown by the task.
getErrorCode() - Method in exception cl.netswitch.lib.channel.CodecException
Returns the error code of this CodecException.
getErrorCode() - Method in exception cl.netswitch.lib.client.ClientException
Returns the error code of this ClientException.
getErrorCode() - Method in exception cl.netswitch.lib.server.ServiceException
Returns the error code of this ServiceException.
getErrorListener() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the request error listener of this RequestEvent.
getExecName() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the name of the execution.
getExecStats() - Method in class cl.netswitch.lib.dto.ExecStatsList
Returns the list of pool statistics or null if undefined.
getExecStats() - Method in interface cl.netswitch.lib.server.ExecutionStats
Returns a new ExecStats with execution statistics.
getExecutions() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the total number of times the service has been executed.
getExecutionStats(String) - Method in interface cl.netswitch.lib.server.ServerContext
Returns the execution statistics of the specified service.
getField(String) - Method in class cl.netswitch.lib.layout.Layout
Returns the layout field indexed by the supplied name.
getField(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the field identified by fieldName.
getFloat(String) - Method in class cl.netswitch.lib.message.Message
Returns the float value of the property indexed by name.
getId() - Method in class cl.netswitch.lib.aio.Waiter
Returns the identification or null if none defined.
getIdleTimeout() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the server's idle timeout.
getInstanceCount() - Method in interface cl.netswitch.lib.jmx.ServerMXBean
Returns the number of executing instances.
getInteger(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the integer value of the index occurence of this field in message.
getInteger(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the integer value of the field identified by fieldName.
getInteger(String) - Method in class cl.netswitch.lib.message.Message
Returns the integer value of the property indexed by name.
getInteger(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the integer value of the field identified by fieldName and index.
getLabel(Message.Label) - Method in class cl.netswitch.lib.message.Message
Returns the value of the label indexed by key.
getLabelKeys() - Method in class cl.netswitch.lib.message.Message
Returns an unmodifiable set with all defined label keys.
getLayout() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the layout of this field.
getLayout() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the current layout of this message.
getLayout(String) - Method in class cl.netswitch.lib.layout.LayoutLoader
Returns a Layout with the specified name.
getLength() - Method in class cl.netswitch.lib.layout.Layout
Returns the sum of the sizes of all the fields of this layout.
getLength() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the length of each occurrence of this field.
getLocalAddress() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the local address or null if not connected.
getLocalAddress() - Method in interface cl.netswitch.lib.channel.CodecContext
Returns the local address of the codec channel.
getLocalAddress() - Method in interface cl.netswitch.lib.channel.FilterContext
Returns the local address of the filter channel.
getLocale() - Method in class cl.netswitch.lib.layout.Layout
Returns the locale of this layout.
getLogger() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the logger of this channel.
getLoggerHeader() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the logger header of this channel.
getLong(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the long value of the index occurence of this field in message.
getLong(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the long value of the field identified by fieldName.
getLong(String) - Method in class cl.netswitch.lib.message.Message
Returns the long value of the property indexed by name.
getLong(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the long value of the field identified by fieldName and index.
getMaxMS() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the maximum execution time of the service (millisecs).
getMessage() - Method in class cl.netswitch.lib.client.MulticastEvent
Returns the multicast message of this MulticastEvent.
getMessage() - Method in class cl.netswitch.lib.client.ReplyEvent
Returns the reply message of this event.
getMessage() - Method in class cl.netswitch.lib.server.MulticastEvent
Returns the multicast message of this MulticastEvent.
getMessage() - Method in class cl.netswitch.lib.server.ReplyEvent
Returns the reply message or null if the reply timeout.
getMessage() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the request message of this RequestEvent.
getMessages(Throwable) - Static method in class cl.netswitch.lib.util.Convert
Returns the string representation of the supplied throwable.
getMetaName() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the name of the metaServer.
getMinMS() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the minimum execution time of the service (millisecs).
getName() - Method in interface cl.netswitch.lib.channel.CodecContext
Returns the name of the codec channel.
getName() - Method in interface cl.netswitch.lib.channel.FilterContext
Returns the name of the filter channel.
getName() - Method in class cl.netswitch.lib.client.ClientChannel
Returns the name of this ClientChannel, or null if this ClientChannel is not connected.
getName() - Method in class cl.netswitch.lib.client.MulticastEvent
Returns the multicast name of this MulticastEvent.
getName() - Method in class cl.netswitch.lib.layout.Layout
Returns the name of this layout.
getName() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the name of this field.
getName() - Method in class cl.netswitch.lib.server.MulticastEvent
Returns the multicast name of this MulticastEvent.
getName() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the name of this ServerChannel.
getNetSwitchName() - Method in class cl.netswitch.lib.client.ClientChannel
Returns the name of the switch connected to this ClientChannel, or null if this ClientChannel is not connected.
getNetSwitchName() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the switch name of this ServerChannel.
getNetSwitchURI() - Method in class cl.netswitch.lib.client.ClientChannel
Returns the connection URI of this ClientChannel, or null if this ClientChannel is not connected.
getNetSwitchURI() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the connection URI of this ServerChannel.
getNetSwitchVersion() - Method in class cl.netswitch.lib.client.ClientChannel
Returns the version of the switch connected to this ClientChannel, or null if this ClientChannel is not connected.
getNetSwitchVersion() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the switch version of this ServerChannel.
getNumber(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the decimal value of the index occurence of this field in message.
getNumber(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the decimal value of the field identified by fieldName.
getNumber(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the decimal value of the field identified by fieldName and index.
getObject(Class<T>) - Method in class cl.netswitch.lib.client.MulticastEvent
Returns the object contained in the message of this MulticastEvent.
getObject(Class<T>) - Method in class cl.netswitch.lib.client.ReplyEvent
Returns the object contained in the success message of this ReplyEvent.
getObject(Class<T>) - Method in class cl.netswitch.lib.message.Message
Returns the object containing the data of this Message.
getObject(Class<T>) - Method in class cl.netswitch.lib.server.MulticastEvent
Returns the object contained in the message of this MulticastEvent.
getObject(Class<T>) - Method in class cl.netswitch.lib.server.ReplyEvent
Returns the object contained in the success message of this ReplyEvent.
getObject(Class<T>) - Method in class cl.netswitch.lib.server.RequestEvent
Returns the object contained in the message of this RequestEvent.
getObject(String, Class<T>) - Method in class cl.netswitch.lib.message.Message
Returns the object value of the property indexed by name.
getOccurs() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the number of occurrences of this field.
getOccurs(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the number of occurrences of the field identified by fieldName.
getOffset(int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the offset position of the index occurence of this field in a message or it's parent list.
getParent() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the list field that contains this field.
getPollMessages() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of poll messages.
getProcessID() - Method in interface cl.netswitch.lib.server.ServerContext
Returns the unique process identification of the server channel.
getProperties() - Static method in class cl.netswitch.lib.client.LogicalChannels
Returns the properties of all logical channels.
getProperties() - Method in class cl.netswitch.lib.server.ServerChannel
Returns an unmodifiable map with all the properties of this ServerChannel.
getProperties() - Method in interface cl.netswitch.lib.server.ServerContext
Returns an unmodifiable map with all the properties of this context.
getProperty(String) - Method in class cl.netswitch.lib.server.ServerChannel
Returns the value of the property indexed by specified name.
getProperty(String) - Method in interface cl.netswitch.lib.server.ServerContext
Returns the value of the property indexed by specified name.
getProperty(String, String) - Method in class cl.netswitch.lib.server.ServerChannel
Returns the value of the property indexed by specified name.
getPropertyEntries() - Method in class cl.netswitch.lib.message.Message
Returns an unmodifiable set with all defined property names and values.
getPropertyNames() - Method in class cl.netswitch.lib.message.Message
Returns an unmodifiable set with all defined property names.
getPropertyType(String) - Method in class cl.netswitch.lib.message.Message
Returns the type of the value of the property indexed by name.
getReadableBytes() - Method in class cl.netswitch.lib.util.ByteArray
Returns the number of bytes that can be read.
getReaderBufferFreeSize() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the free size of the reader buffer (bytes).
getReaderBufferMaxSize() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the maximum size of the reader buffer (bytes).
getReaderBufferMinSize() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the minimum size of the reader buffer (bytes).
getReaderBufferWarnSize() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the warning size of the reader buffer (bytes).
getReaderBytes() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the total number of bytes read by this channel.
getReaderBytes() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of bytes read.
getReaderErrors() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of read errors.
getReaderMessages() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the total number of messages read by this channel.
getReaderMessages() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of messages read.
getReadIndex() - Method in class cl.netswitch.lib.util.ByteArray
Gets the value of the readIndex.
getRemoteAddress() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the remote address or null if not connected.
getRemoteAddress() - Method in interface cl.netswitch.lib.channel.CodecContext
Returns the remote address of the codec channel.
getRemoteAddress() - Method in interface cl.netswitch.lib.channel.FilterContext
Returns the remote address of the filter channel.
getReplyKey() - Method in class cl.netswitch.lib.server.PendingReply
Returns the reply key of this pending reply.
getReplyPath() - Method in class cl.netswitch.lib.server.PendingReply
Returns the reply path of this pending reply.
getReplyPath() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the reply path of this RequestEvent.
getRequest() - Method in class cl.netswitch.lib.server.ReplyEvent
Returns the request event of this ReplyEvent.
getRequest() - Method in class cl.netswitch.lib.server.RequestErrorEvent
Returns the request active at the time of the error.
getRequest() - Method in class cl.netswitch.lib.server.TaskResultEvent
Returns the request that executed the server task.
getRequestId() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the request ID of this RequestEvent.
getScale() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the numeric scale of this field.
getSequence(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the unformatted character sequence of the index occurence of this field in message.
getSequence(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the unformatted character sequence of the field identified by fieldName.
getSequence(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the unformatted character sequence of the field identified by fieldName and index.
getServerChannel() - Method in class cl.netswitch.lib.server.MulticastEvent
Returns the server channel of this MulticastEvent.
getServerChannel() - Method in class cl.netswitch.lib.server.PendingReply
Returns the server channel of this pending reply.
getServerChannel() - Method in class cl.netswitch.lib.server.ReplyEvent
Returns the server channel of this ReplyEvent.
getServerChannel() - Method in class cl.netswitch.lib.server.RequestErrorEvent
Returns the server channel of this event.
getServerChannel() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the server channel of this RequestEvent.
getServerChannel() - Method in class cl.netswitch.lib.server.TaskResultEvent
Returns the server channel of this event.
getServerName() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the execution server name.
getServerParam(String) - Method in interface cl.netswitch.lib.channel.CodecContext
Returns the string value of the parameter/configuration indexed by name.
getServerParam(String) - Method in interface cl.netswitch.lib.channel.FilterContext
Returns the string value of the parameter/configuration indexed by name.
getServerVersion() - Method in interface cl.netswitch.lib.jmx.ServerMXBean
Returns the implementation version of a server.
getServiceName() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the service name of this RequestEvent.
getSharedParam(String) - Method in interface cl.netswitch.lib.channel.CodecContext
Returns the object value of the shared parameter indexed by name.
getSharedParam(String) - Method in interface cl.netswitch.lib.channel.FilterContext
Returns the object value of the shared parameter indexed by name.
getShort(String) - Method in class cl.netswitch.lib.message.Message
Returns the short value of the property indexed by name.
getSignature() - Method in class cl.netswitch.lib.layout.Layout
Returns the signature (or checksum) of this layout.
getSoKeepAlive() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns true if the SO_KEEPALIVE socket option is enabled.
getSslHandshakeTimeout() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the maximum time for an SSL handshake (milliseconds).
getState() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the string presensentation of the endpoint state.
getStatsName() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the name of the execution statistics.
getStatsType() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the type of the execution statistics.
getStatus() - Method in class cl.netswitch.lib.message.Message
Returns the status of this Message.
getString(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns the string value of the index occurence of this field in message.
getString(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the string value of the field identified by fieldName.
getString(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the string value of the field identified by fieldName and index.
getSuccessMessage() - Method in class cl.netswitch.lib.client.ReplyEvent
Returns the reply message with a SUCCESS status.
getSuccessMessage() - Method in class cl.netswitch.lib.server.ReplyEvent
Returns the reply message with a SUCCESS status.
getSwitchReplyTimeout() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the maximum time to wait for a RunStart reply.
getSwitchVersion() - Method in interface cl.netswitch.lib.jmx.SwitchMXBean
Returns the implementation version of a server.
getTag() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the connection tag or null if not connected.
getTcpNoDelay() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns true if the TCP_NODELAY socket option is enabled.
getText() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the text of this message.
getText() - Method in class cl.netswitch.lib.message.Message
Returns a string containing the data of this Message.
getText(String) - Method in class cl.netswitch.lib.message.Message
Returns the string value the property indexed by name.
getTextTrim() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the text of this message with trailing space characters removed.
getTimeMS() - Method in class cl.netswitch.lib.dto.ExecStats
Returns the total execution time of the service (millisecs).
getTimeout() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the timeout of this RequestEvent.
getTransformer() - Static method in class cl.netswitch.lib.util.XmlUtil
Create a new Transformer object that performs a copy of the source to the result.
getTrustStoreFile() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the trust store file or null if none defined.
getType() - Method in interface cl.netswitch.lib.channel.CodecContext
Returns the type of the codec channel.
getType() - Method in interface cl.netswitch.lib.channel.FilterContext
Returns the type of the filter channel.
getType() - Method in class cl.netswitch.lib.layout.LayoutField
Returns the type of this field.
getType() - Method in class cl.netswitch.lib.message.Message
Returns the type of this Message.
getUnexpectedReplyListener() - Method in class cl.netswitch.lib.client.ClientChannel
Returns the unexpected reply listener of this ClientChannel.
getUniqueName() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the unique name of this ServerChannel.
getUserMessage() - Method in exception cl.netswitch.lib.client.ClientException
Returns the user message of this ClientException.
getUserMessage() - Method in exception cl.netswitch.lib.server.ServiceException
Returns the user message of this ServiceException.
getValue() - Method in class cl.netswitch.lib.aio.Waiter
Returns the value of this waiter or null if none available.
getValue() - Method in class cl.netswitch.lib.server.TaskResultEvent
Returns the value computed by the task.
getVersion() - Method in class cl.netswitch.lib.client.ClientChannel
Returns the implementation version of this ClientChannel.
getVersion() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the implementation version of this ServerChannel.
getWritableBytes() - Method in class cl.netswitch.lib.util.ByteArray
Returns the number of bytes that can be written.
getWriteIndex() - Method in class cl.netswitch.lib.util.ByteArray
Gets the value of the writeIndex.
getWriterBytes() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the total number of bytes written by this channel.
getWriterBytes() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of bytes written.
getWriterErrors() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of write errors.
getWriterMessages() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the total number of messages written by this channel.
getWriterMessages() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of messages written.
getWriterQueueSize() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns the size of the writer queue (messages).

H

handleIdle() - Method in class cl.netswitch.lib.server.ServerChannel
Called when a idle event occurs.
handleInbound(Message) - Method in class cl.netswitch.lib.aio.ChannelBase
Handles an inbound message received by this channel.
handleInbound(Message) - Method in class cl.netswitch.lib.client.ClientChannel
Handles an inbound message received by this connector.
handleInbound(Message) - Method in class cl.netswitch.lib.server.ServerChannel
Handles an inbound message received by this connector.
handleInitialize() - Method in class cl.netswitch.lib.server.ServerChannel
Called just after this channel connects to the switch server.
handleMulticast(MulticastEvent) - Method in interface cl.netswitch.lib.client.MulticastListener
Called when a multicast message is received.
handleMulticast(MulticastEvent) - Method in interface cl.netswitch.lib.server.MulticastListener
Called when a multicast message is received.
handleReinitialize() - Method in class cl.netswitch.lib.server.ServerChannel
Called just after a console REINIT command is executed.
handleReply(ReplyEvent) - Method in interface cl.netswitch.lib.client.ReplyListener
Called when a reply message is received.
handleReply(ReplyEvent) - Method in interface cl.netswitch.lib.server.ReplyListener
Called when a reply message is received.
handleRequest(RequestEvent) - Method in interface cl.netswitch.lib.server.RequestListener
Called when a request message is received.
handleRequestError(RequestErrorEvent) - Method in interface cl.netswitch.lib.server.RequestErrorListener
Called when a request error is occurs.
handleStop(String) - Method in class cl.netswitch.lib.server.ServerChannel
Called when a stop message is received.
handleTaskResult(TaskResultEvent<T>) - Method in interface cl.netswitch.lib.server.TaskResultListener
Called when the task returns the computed value, or when the task throws an exception.
handleTimer() - Method in class cl.netswitch.lib.server.ServerChannel
Called when a timer event occurs.
hashCode() - Method in class cl.netswitch.lib.server.DeplayedEvent
Returns a hash code value of this DeplayedEvent.
hasId() - Method in class cl.netswitch.lib.aio.Waiter
Returns true this waiter has an identification.
hasLabel(Message.Label) - Method in class cl.netswitch.lib.message.Message
Returns true if the label indexed by key is defined.
hasProperty(String) - Method in class cl.netswitch.lib.message.Message
Returns true if the property indexed by name is defined.
hasSentReply() - Method in class cl.netswitch.lib.server.RequestEvent
Returns true if a reply has already been sent.
hexToBytes(String) - Static method in class cl.netswitch.lib.util.Convert
Returns the byte array represented by supplied hexadecimal string.
hexToNibble(char) - Static method in class cl.netswitch.lib.util.Convert
Returns the nibble (4-bits) of the supplied hexadecimal char.

I

info(String, Object...) - Method in class cl.netswitch.lib.aio.ChannelBase
Generate an information entry with message and args.
info(String, Object...) - Method in interface cl.netswitch.lib.channel.CodecContext
Generates an information log message using supplied arguments.
info(String, Object...) - Method in interface cl.netswitch.lib.channel.FilterContext
Generates an information log message using supplied arguments.
info(String, Object...) - Method in class cl.netswitch.lib.server.ReplyEvent
Logs an information message with supplied format and arguments.
info(String, Object...) - Method in class cl.netswitch.lib.server.RequestEvent
Logs an information message with supplied format and arguments.
initFields() - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the value of each field of this message to its default value.
initFields(LayoutMessage) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the value of each field of this message to the value of its corresponding field in source.
initialize(CodecContext) - Method in interface cl.netswitch.lib.channel.ChannelCodec
Called to initialize the ChannelCodec.
initialize(FilterContext) - Method in interface cl.netswitch.lib.channel.ChannelFilter
Called to initialize the ChannelFilter.
initialize(File) - Static method in class cl.netswitch.lib.util.Logging
Initialize the logging facility using supplied configuration file.
initialize(String) - Method in class cl.netswitch.lib.aio.Waiter
Initialize this waiter for a new wait operation.
Initialize - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Initialize message.
INTEGER - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is an Integer.
isClosed() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns true if this channel is closed.
isComplete() - Method in class cl.netswitch.lib.layout.Layout
Returns true if this layout is complete.
isConnected() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns true if this channel is connected.
isExecuting() - Method in class cl.netswitch.lib.server.ServerChannel
Returns true if this ServerChannel is executing.
isLoggable(Level) - Method in class cl.netswitch.lib.aio.ChannelBase
Returns true if the given message level is being logged.
isLoggable(Level) - Method in interface cl.netswitch.lib.channel.CodecContext
Returns true if the given message level is being logged.
isLoggable(Level) - Method in interface cl.netswitch.lib.channel.FilterContext
Returns true if the given message level is being logged.
isLoggable(Level) - Method in class cl.netswitch.lib.server.ReplyEvent
Returns true if the given message level is being logged.
isLoggable(Level) - Method in class cl.netswitch.lib.server.RequestEvent
Returns true if the given message level is being logged.
isNull(int, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns true if a substring is NULL.
isNull(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Returns true is the character sequence of the index occurence of this field in message is NULL.
isNull(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns true if the value of the field identified by fieldName is NULL.
isNull(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns true if the value of the field identified by fieldName and index is NULL.
isReadable() - Method in class cl.netswitch.lib.util.ByteArray
Returns true if at least one byte can be read.
isSecure() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns true if this channel is secure.
isServerThread() - Method in class cl.netswitch.lib.server.ServerChannel
Returns true if running on the ServerChannel Thread.
isSignANSI() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns true if numeric fields are stored using the ANSI format.
isStale(long, long) - Method in class cl.netswitch.lib.server.PendingReply
Returns true if this pending reply is stale.
isStrict() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns true if message editing is strict.
isTracing() - Method in class cl.netswitch.lib.aio.ChannelBase
Returns true if tracing inbound and outbound messages.
isUserDefined(String, String) - Method in interface cl.netswitch.lib.channel.CodecContext
Returns true if a user is defined in specified realm.
isUserInRole(String) - Method in class cl.netswitch.lib.server.RequestEvent
Returns true if the authenticated user is included in a role.
isWritable() - Method in class cl.netswitch.lib.util.ByteArray
Returns true if at least one byte can be written.

J

JschExecutor<T> - Interface in cl.netswitch.lib.server
Executes an operation using a managed Java Secure Channel (JSCH).
JschServices - Interface in cl.netswitch.lib.server
Services for executing network I/O with managed sockets.

L

Layout - Class in cl.netswitch.lib.layout
Collection of fields whose values can be edited with a LayoutMessage.
Layout() - Constructor for class cl.netswitch.lib.layout.Layout
Creates a new Layout instance.
LayoutChecksum - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Layout Checksum.
LayoutField - Class in cl.netswitch.lib.layout
Data item whose value can be edited with a LayoutMessage.
LayoutLoader - Class in cl.netswitch.lib.layout
Collection of reusable Layout instances.
LayoutLoader(URI) - Constructor for class cl.netswitch.lib.layout.LayoutLoader
Creates a new LayoutLoader instance.
LayoutMessage - Class in cl.netswitch.lib.layout
Text message formatted according to a Layout specification.
LayoutMessage() - Constructor for class cl.netswitch.lib.layout.LayoutMessage
Constructs a new LayoutMessage instance.
LayoutMessage(Layout) - Constructor for class cl.netswitch.lib.layout.LayoutMessage
Constructs a new LayoutMessage instance with layout.
LayoutMessage(String) - Constructor for class cl.netswitch.lib.layout.LayoutMessage
Constructs a new LayoutMessage instance with text.
LayoutMessage(String, Layout) - Constructor for class cl.netswitch.lib.layout.LayoutMessage
Constructs a new LayoutMessage instance with arguments.
LayoutName - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Layout Name.
layouts() - Method in class cl.netswitch.lib.layout.LayoutLoader
Returns an unmodifiable collection with the layouts contained in this LayoutLoader.
LIST - Enum constant in enum class cl.netswitch.lib.layout.FieldType
List layout field (LB).
LISTEND - Enum constant in enum class cl.netswitch.lib.layout.FieldType
End-of-list pseudo layout field (LE).
lock() - Method in class cl.netswitch.lib.aio.Waiter
Acquires the lock.
LogFormatter - Class in cl.netswitch.lib.util
Prints a LogRecord using the NetSwitch server format.
LogFormatter() - Constructor for class cl.netswitch.lib.util.LogFormatter
Constructs a new LogFormatter instance.
LogFormatter(boolean) - Constructor for class cl.netswitch.lib.util.LogFormatter
Constructs a new LogFormatter instance with wrap option.
Logging - Class in cl.netswitch.lib.util
Provides static utility methods used to configure the System Logging Facility.
LogicalChannel - Class in cl.netswitch.lib.client
Logical channel of a multiplexed communication ClientChannel.
LogicalChannels - Class in cl.netswitch.lib.client
Pool of reusable thread-safe logical channels.
logRequestError(RequestEvent, Throwable) - Method in class cl.netswitch.lib.server.ServerChannel
Logs the error that was thrown while processing a request message.
LONG - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a Long.

M

MailServices - Interface in cl.netswitch.lib.server
Services for sending e-mail messages.
main(String[]) - Static method in class cl.netswitch.lib.console.ConsoleApp
Console startup procedure.
mark(int) - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Set the current marked position in the stream.
markSupported() - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Tests if this InputStream supports mark/reset.
Message - Class in cl.netswitch.lib.message
Unit of communication between endpoints in a distributed environment.
Message() - Constructor for class cl.netswitch.lib.message.Message
Creates a new Message instance.
Message(byte[]) - Constructor for class cl.netswitch.lib.message.Message
Creates a new Message with supplied bytes.
Message(Message.Type) - Constructor for class cl.netswitch.lib.message.Message
Creates a new Message with supplied type.
Message(Serializable) - Constructor for class cl.netswitch.lib.message.Message
Creates a new Message with supplied object.
Message(String) - Constructor for class cl.netswitch.lib.message.Message
Creates a new Message with supplied text.
Message.Label - Enum Class in cl.netswitch.lib.message
Defines the possible labels of a Message.
Message.Type - Enum Class in cl.netswitch.lib.message
Defines the possible types of a Message.
MetaMXBean - Interface in cl.netswitch.lib.jmx
Interface of the MXBean of a MetaServer.
MethodName - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Method Name.
Multicast - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Multicast message.
MulticastEvent - Class in cl.netswitch.lib.client
MulticastEvent is used to notify that a multicast message has arrived.
MulticastEvent - Class in cl.netswitch.lib.server
MulticastEvent is used to notify that a multicast message has arrived.
MulticastEvent(ClientChannel, Message) - Constructor for class cl.netswitch.lib.client.MulticastEvent
Constructs a new MulticastEvent instance.
MulticastEvent(ServerChannel, Message) - Constructor for class cl.netswitch.lib.server.MulticastEvent
Constructs a new MulticastEvent instance.
MulticastListener - Interface in cl.netswitch.lib.client
Listener interface for receiving multicast messages.
MulticastListener - Interface in cl.netswitch.lib.server
Listener interface for receiving multicast messages.

N

normalizeName(String) - Static method in class cl.netswitch.lib.layout.Layout
Converts supplied name to upper case and replaces "-" by "_".
NUMERIC - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Unsigned number layout field (N).

O

OBJECT - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a Serializable.
Originator - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Originator.

P

PathInfo - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Path Info.
PendingReply - Class in cl.netswitch.lib.server
Pending reply that can be received and dispatched by any server channel.
PollAck - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Poll acknowledge message.
PollEnq - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Poll enquiry message.
print(String, Object...) - Method in class cl.netswitch.lib.client.ClientBase
Prints a formatted message using arguments.
printCompactStackTrace(Throwable) - Static method in class cl.netswitch.lib.client.ClientBase
Prints a compact stack trace of a throwable in standard error.
println(String, Object...) - Method in class cl.netswitch.lib.client.ClientBase
Prints a formatted message using arguments then terminates the line.
PropertyType - Enum Class in cl.netswitch.lib.message
Type of the value of a Message property.
putBigDecimal(String, BigDecimal) - Method in class cl.netswitch.lib.message.Message
Changes the big decimal value of the property indexed by name.
putBigInteger(String, BigInteger) - Method in class cl.netswitch.lib.message.Message
Changes the big integer value of the property indexed by name.
putBoolean(String, Boolean) - Method in class cl.netswitch.lib.message.Message
Changes the boolean value of the property indexed by name.
putByte(String, Byte) - Method in class cl.netswitch.lib.message.Message
Changes the byte value of the property indexed by name.
putBytes(String, byte[]) - Method in class cl.netswitch.lib.message.Message
Changes the bytes value of the property indexed by name.
putDate(String, Date) - Method in class cl.netswitch.lib.message.Message
Changes the date value of the property indexed by name.
putDouble(String, Double) - Method in class cl.netswitch.lib.message.Message
Changes the double value of the property indexed by name.
putFloat(String, Float) - Method in class cl.netswitch.lib.message.Message
Changes the float value of the property indexed by name.
putInteger(String, Integer) - Method in class cl.netswitch.lib.message.Message
Changes the integer value of the property indexed by name.
putLabel(Message.Label, String) - Method in class cl.netswitch.lib.message.Message
Changes the value of the label indexed by key.
putLayout(Layout) - Method in class cl.netswitch.lib.layout.LayoutLoader
Adds a layout to the collection of layouts of this LayoutLoader.
putLong(String, Long) - Method in class cl.netswitch.lib.message.Message
Changes the long value of the property indexed by name.
putObject(String, Serializable) - Method in class cl.netswitch.lib.message.Message
Changes the object value of the property indexed by name.
putProperties(Message) - Method in class cl.netswitch.lib.message.Message
Copies all the properties of a message to this Message.
putShort(String, Short) - Method in class cl.netswitch.lib.message.Message
Changes the short value of the property indexed by name.
putText(String, String) - Method in class cl.netswitch.lib.message.Message
Changes the string value of the property indexed by name.

R

read() - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Reads the next byte of data from this input stream.
read(byte[], int, int) - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Reads up to length bytes of data into an array of bytes from this input stream.
read7bitBytes() - Method in class cl.netswitch.lib.util.ByteArray
Reads a 7bit encoded byte array starting at current readIndex.
read7bitBytes(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a 7bit byte array from the supplied ByteBuffer.
read7bitInt() - Method in class cl.netswitch.lib.util.ByteArray
Reads a 7bit encoded integer value starting at current readIndex.
read7bitInt(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a 7bit integer from the supplied ByteBuffer.
read7bitLong(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a 7bit long from the supplied ByteBuffer.
read7bitString() - Method in class cl.netswitch.lib.util.ByteArray
Reads a 7bit encoded string starting at current readIndex.
read7bitString(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a 7bit string from the supplied ByteBuffer.
readAllBytes() - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Reads all remaining bytes from the input stream.
readByte() - Method in class cl.netswitch.lib.util.ByteArray
Reads a byte at current readIndex.
readByte(int) - Method in class cl.netswitch.lib.util.ByteArray
Reads a byte at the specified absolute index.
readByte(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a byte from the supplied ByteBuffer.
readBytes(byte[], int, int) - Method in class cl.netswitch.lib.util.ByteArray
Transfers this array's data to the specified destination byte array starting at current readIndex.
readBytes(int, byte[], int, int) - Method in class cl.netswitch.lib.util.ByteArray
Transfers this array's data to the specified destination byte array starting at the specified absolute index.
readBytes(ByteBuffer, int) - Static method in class cl.netswitch.lib.util.Buffers
Reads a byte array from the supplied ByteBuffer.
readDouble() - Method in class cl.netswitch.lib.util.ByteArray
Reads an double at current readIndex.
readDouble(int) - Method in class cl.netswitch.lib.util.ByteArray
Reads an double at the specified absolute index.
readDouble(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a double from the supplied ByteBuffer.
readFloat() - Method in class cl.netswitch.lib.util.ByteArray
Reads an float at current readIndex.
readFloat(int) - Method in class cl.netswitch.lib.util.ByteArray
Reads an float at the specified absolute index.
readFloat(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a float from the supplied ByteBuffer.
readInt() - Method in class cl.netswitch.lib.util.ByteArray
Reads an integer at current readIndex.
readInt(int) - Method in class cl.netswitch.lib.util.ByteArray
Reads an integer at the specified absolute index.
readInt(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads an integer from the supplied ByteBuffer.
readLong() - Method in class cl.netswitch.lib.util.ByteArray
Reads a long at current readIndex.
readLong(int) - Method in class cl.netswitch.lib.util.ByteArray
Reads a long at the specified absolute index.
readLong(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a long from the supplied ByteBuffer.
readNBytes(byte[], int, int) - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Reads the requested number of bytes from the input stream into the given byte array.
readShort() - Method in class cl.netswitch.lib.util.ByteArray
Reads a short at current readIndex.
readShort(int) - Method in class cl.netswitch.lib.util.ByteArray
Reads a short at the specified absolute index.
readShort(ByteBuffer) - Static method in class cl.netswitch.lib.util.Buffers
Reads a short from the supplied ByteBuffer.
register(String, ClientBase.Action) - Method in class cl.netswitch.lib.client.ClientBase
Register a new test indexed by specified name.
releaseWaiter(Waiter) - Method in interface cl.netswitch.lib.server.ServerContext
Release the supplied Waiter and add it back to the pool.
removeDelayedEvent(DeplayedEvent) - Method in interface cl.netswitch.lib.server.ServerContext
Removes a delayed event from this queue of delayed events.
removeExecutionStats(String) - Method in interface cl.netswitch.lib.server.ServerContext
Removes the execution statistics of the specified service.
removeLabel(Message.Label) - Method in class cl.netswitch.lib.message.Message
Removes the label indexed by the key.
removePendingReply(String) - Method in interface cl.netswitch.lib.server.ServerContext
Removes and returns the pending reply indexed by given key.
removeProperty(String) - Method in class cl.netswitch.lib.message.Message
Removes the property indexed by name.
removeRequestListener(String) - Method in class cl.netswitch.lib.server.ServerChannel
Unregisters the request listener identified by name.
replace(int, int, String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Replaces a substring with the supplied string value.
Reply - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Reply message.
replyCompleted(ReplyEvent) - Method in class cl.netswitch.lib.server.ServerChannel
Called after an asynchronous reply message has been successfully processed by a handleReply method.
replyError(ReplyEvent, Throwable) - Method in class cl.netswitch.lib.server.ServerChannel
Called after an exception is thrown while processing an asynchronous reply message.
ReplyEvent - Class in cl.netswitch.lib.client
ReplyEvent is used to notify that a reply message has arrived.
ReplyEvent - Class in cl.netswitch.lib.server
ReplyEvent is used to notify that a reply message has arrived.
ReplyEvent(ClientChannel, Message) - Constructor for class cl.netswitch.lib.client.ReplyEvent
Constructs a new ReplyEvent instance.
ReplyEvent(RequestEvent, Message) - Constructor for class cl.netswitch.lib.server.ReplyEvent
Constructs a new ReplyEvent instance.
ReplyListener - Interface in cl.netswitch.lib.client
Listener interface for receiving reply messages.
ReplyListener - Interface in cl.netswitch.lib.server
Listener interface for receiving reply messages.
ReplyPath - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Reply Path.
replyReceived(ReplyEvent) - Method in class cl.netswitch.lib.server.ServerChannel
Called after an asynchronous reply message has been received and before it is processed by a handleReply method.
ReplyTimeoutException - Exception in cl.netswitch.lib.server
Signals that a reply timeout event has occurred.
ReplyTimeoutException() - Constructor for exception cl.netswitch.lib.server.ReplyTimeoutException
Constructs a new ReplyTimeoutException instance.
ReplyTimeoutException(String) - Constructor for exception cl.netswitch.lib.server.ReplyTimeoutException
Constructs a new ReplyTimeoutException with a message.
ReplyTimeoutException(String, String) - Constructor for exception cl.netswitch.lib.server.ReplyTimeoutException
Constructs a new ReplyTimeoutException with a detail and user message.
ReplyTimeoutException(String, String, Throwable) - Constructor for exception cl.netswitch.lib.server.ReplyTimeoutException
Constructs a new ReplyTimeoutException with a detail message, user message and cause.
ReplyTimeoutException(String, Throwable) - Constructor for exception cl.netswitch.lib.server.ReplyTimeoutException
Constructs a new ReplyTimeoutException with a message and cause.
ReplyTimeoutException(Throwable) - Constructor for exception cl.netswitch.lib.server.ReplyTimeoutException
Constructs a new ReplyTimeoutException with a cause.
Request - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Request message.
requestCompleted(RequestEvent) - Method in class cl.netswitch.lib.server.ServerChannel
Called after a request message has been successfully processed by a handleRequest method.
requestError(RequestEvent, Throwable) - Method in class cl.netswitch.lib.server.ServerChannel
Called after an exception is thrown while processing a request message.
RequestErrorEvent - Class in cl.netswitch.lib.server
RequestErrorEvent is used to notify that a request error has occured.
RequestErrorEvent(ServerChannel, RequestEvent, Throwable) - Constructor for class cl.netswitch.lib.server.RequestErrorEvent
Constructs a new RequestErrorEvent instance.
RequestErrorListener - Interface in cl.netswitch.lib.server
Listener interface for receiving request error events.
RequestEvent - Class in cl.netswitch.lib.server
RequestEvent is used to notify that a request message has arrived.
RequestEvent(ServerChannel, Message) - Constructor for class cl.netswitch.lib.server.RequestEvent
Constructs a new RequestEvent instance.
RequestId - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Request Id.
RequestListener - Interface in cl.netswitch.lib.server
Listener interface for receiving request messages.
requestReceived(RequestEvent) - Method in class cl.netswitch.lib.server.ServerChannel
Called after a request message has been received and before it is processed by a handleRequest method.
reset() - Method in class cl.netswitch.lib.server.DeplayedEvent
Resets the expiration time of this DeplayedEvent for reuse.
reset() - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Resets the buffer to the marked position.
reset() - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Resets the count field of this UByteArrayOutputStream to zero, so that all currently accumulated output in the output stream is discarded.
rightTrim(String) - Static method in class cl.netswitch.lib.util.Convert
Returns a copy of a string with trailing spaces ' ' removed.
runAsyncTask(Runnable) - Method in interface cl.netswitch.lib.server.ServerContext
Executes the given task asynchronously in a separate thread.
runAsyncTask(Callable<T>, TaskResultListener<T>) - Method in class cl.netswitch.lib.server.RequestEvent
Executes the supplied task in a separate thread.
runAsyncTask(Callable<T>, TaskResultListener<T>) - Method in class cl.netswitch.lib.server.ServerChannel
Executes the supplied task in a separate thread.
RunClose - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Run close message.
runLater(Runnable) - Method in class cl.netswitch.lib.server.ServerChannel
Run supplied runnable on the server's thread at some time in the future.
RunStart - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Run start message.
RUT - Enum constant in enum class cl.netswitch.lib.layout.FieldType
RUT layout field (R).

S

sendErrorReply(Serializable) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a ERROR reply message built using the supplied data.
sendErrorReply(String, Object...) - Method in class cl.netswitch.lib.server.RequestEvent
Sends an ERROR reply message built using the supplied text format and optional arguments.
sendErrorReply(Throwable) - Method in class cl.netswitch.lib.server.RequestEvent
Sends an ERROR reply message built using the message of the supplied throwable.
sendMail(String, String) - Method in interface cl.netswitch.lib.server.MailServices
Sends a mail message using the "default" SMTP mail session.
sendMail(String, String) - Method in class cl.netswitch.lib.server.ServerChannel
Sends a mail message using the "default" SMTP mail session.
sendMail(String, String, String) - Method in interface cl.netswitch.lib.server.MailServices
Sends a mail message using the specified SMTP mail session.
sendMail(String, String, String) - Method in class cl.netswitch.lib.server.ServerChannel
Sends a mail message using the specified SMTP mail session.
sendMail(String, String, String, String) - Method in interface cl.netswitch.lib.server.ServerContext
Sends a mail message using the specified SMTP mail session.
sendMessage(Message) - Method in class cl.netswitch.lib.client.ClientChannel
Sends (writes) the supplied message to the output stream of a channel.
sendMessage(Message) - Method in class cl.netswitch.lib.server.ServerChannel
Sends the supplied message to the output stream of a channel.
sendMessage(String, Serializable) - Method in class cl.netswitch.lib.server.ServerChannel
Sends a message to the specified destination.
sendMulticast(String, Serializable) - Method in class cl.netswitch.lib.client.ClientChannel
Sends an multicast message built using the supplied name and data.
sendMulticast(String, Serializable) - Method in class cl.netswitch.lib.server.ServerChannel
Sends an multicast message built using the supplied name and data.
sendNullReply() - Method in class cl.netswitch.lib.server.RequestEvent
Marks the request as having sent a reply, and therefore will not fail with a "Reply Not Sent" expection.
sendReply(Serializable) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a SUCCESS reply message built using the supplied data.
sendReply(Serializable, int) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a reply message built using the supplied data and completion status.
sendReply(String, Object...) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a SUCCESS reply message built using the supplied text format and optional arguments.
sendRequest(String, Serializable) - Method in class cl.netswitch.lib.client.ClientChannel
Sends a request message to a destination and then blocks forever waiting for the reply message.
sendRequest(String, Serializable) - Method in class cl.netswitch.lib.client.LogicalChannel
Sends a request message to a destination and then blocks forever waiting for the reply message.
sendRequest(String, Serializable) - Method in class cl.netswitch.lib.server.ServerChannel
Sends a request message to a destination and then blocks forever waiting for the reply.
sendRequest(String, Serializable, int) - Method in class cl.netswitch.lib.client.ClientChannel
Sends a request message to a destination and then blocks waiting for the reply message for at most timeout milliseconds.
sendRequest(String, Serializable, int) - Method in class cl.netswitch.lib.client.LogicalChannel
Sends a request message to a destination and then blocks waiting for the reply message for at most timeout milliseconds.
sendRequest(String, Serializable, int) - Method in class cl.netswitch.lib.server.ServerChannel
Sends a request message to a destination and then blocks waiting for the reply until timeout.
sendRequest(String, Serializable, ReplyListener) - Method in class cl.netswitch.lib.server.ServerChannel
Sends a request message to a destination and then calls listener when the asynchronous reply is received.
sendRequest(String, Serializable, ReplyListener, int) - Method in class cl.netswitch.lib.server.ServerChannel
Sends a request message to a destination and then calls listener when the asynchronous reply is received.
sendRequest(String, Serializable, ReplyListener, int, String) - Method in class cl.netswitch.lib.server.ServerChannel
Sends a request message to a destination and then calls listener when the asynchronous reply is received.
sendSubRequest(String, Serializable) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a subrequest message to a destination and then blocks forever waiting for the reply.
sendSubRequest(String, Serializable, int) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a subrequest message to a destination and then blocks waiting for the reply until timeout.
sendSubRequest(String, Serializable, ReplyListener) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a subrequest message to a destination and then calls listener when the asynchronous reply message is received.
sendSubRequest(String, Serializable, ReplyListener, int) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a subrequest message to a destination and then calls listener when the asynchronous reply message is received.
sendSubRequest(String, Serializable, ReplyListener, int, String) - Method in class cl.netswitch.lib.server.RequestEvent
Sends a subrequest message to a destination and then calls listener when the asynchronous reply is received.
ServerChannel - Class in cl.netswitch.lib.server
Communication channel between a server application and a NetSwitch server.
ServerChannel() - Constructor for class cl.netswitch.lib.server.ServerChannel
Constructs a new ServerChannel instance.
ServerContext - Interface in cl.netswitch.lib.server
Allows a ServerChannel to communicate with its container.
ServerException - Exception in cl.netswitch.lib.server
Signals that a server error of some kind has occurred.
ServerException() - Constructor for exception cl.netswitch.lib.server.ServerException
Constructs a new ServerException instance.
ServerException(String) - Constructor for exception cl.netswitch.lib.server.ServerException
Constructs a new ServerException with a message.
ServerException(String, Throwable) - Constructor for exception cl.netswitch.lib.server.ServerException
Constructs a new ServerException with a message and cause.
ServerException(Throwable) - Constructor for exception cl.netswitch.lib.server.ServerException
Constructs a new ServerException with a cause.
ServerMXBean - Interface in cl.netswitch.lib.jmx
Interface of the MXBean of a Server.
ServerName - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Server Name.
ServiceException - Exception in cl.netswitch.lib.server
Signals that a service request error of some kind has occurred.
ServiceException() - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException instance.
ServiceException(int) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with an error code.
ServiceException(int, Throwable) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with an error code and cause.
ServiceException(String) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with a message.
ServiceException(String, int) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with an error message and error code.
ServiceException(String, int, Throwable) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with an error message, error code and cause.
ServiceException(String, String) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with an error and user message.
ServiceException(String, String, int) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with an error message, user message and error code.
ServiceException(String, String, int, Throwable) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with an error message, user message, error code and cause.
ServiceException(String, String, Throwable) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with an error message, user message and cause.
ServiceException(String, Throwable) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with a message and cause.
ServiceException(Throwable) - Constructor for exception cl.netswitch.lib.server.ServiceException
Constructs a new ServiceException with a cause.
ServiceName - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Service Name.
setBytes(byte[]) - Method in class cl.netswitch.lib.message.Message
Changes the array of bytes containing the data of this Message.
setChar(LayoutMessage, int, Character) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the character value of the index occurence of this field in message.
setChar(String, int, Character) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the character value of the field identified by fieldName and index.
setChar(String, Character) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the character value of the field identified by fieldName.
setCompressionThreshold(int) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the value of the property compressionThreshold.
setDate(LayoutMessage, int, Date) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the date value of the index occurence of this field in message.
setDate(String, int, Date) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the date value of the field identified by fieldName and index.
setDate(String, Date) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the date value of the field identified by fieldName.
setDefault(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the value of the index occurence of this field in message to its default value.
setDefaultSignANSI(boolean) - Static method in class cl.netswitch.lib.layout.LayoutMessage
Defines if, by default, numeric fields are stored using the ANSI format.
setDefaultStrict(boolean) - Static method in class cl.netswitch.lib.layout.LayoutMessage
Defines if, by default, message editing is strict.
setDouble(LayoutMessage, int, Double) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the double value of the index occurence of this field in message.
setDouble(String, int, Double) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the double value of the field identified by fieldName and index.
setDouble(String, Double) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the double value of the field identified by fieldName.
setErrorListener(RequestErrorListener) - Method in class cl.netswitch.lib.server.RequestEvent
Changes the request error listener of this RequestEvent.
setExecName(String) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the name of the execution.
setExecStats(List<ExecStats>) - Method in class cl.netswitch.lib.dto.ExecStatsList
Changes the list of pool statistics.
setExecutions(int) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the total number of times the service has been executed.
setIdleTimeout(int) - Method in class cl.netswitch.lib.server.ServerChannel
Changes the server's idle timeout.
setInteger(LayoutMessage, int, Integer) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the integer value of the index occurence of this field in message.
setInteger(String, int, Integer) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the integer value of the field identified by fieldName and index.
setInteger(String, Integer) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the integer value of the field identified by fieldName.
setLayout(Layout) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the layout of this message.
setLocale(Locale) - Method in class cl.netswitch.lib.layout.Layout
Changes the locale of this layout.
setLogger(Logger) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the logger of this channel.
setLoggerHeader(String) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the logger header of this channel.
setLong(LayoutMessage, int, Long) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the long value of the index occurence of this field in message.
setLong(String, int, Long) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the long value of the field identified by fieldName and index.
setLong(String, Long) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the long value of the field identified by fieldName.
setMaxMS(double) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the maximum execution time of the service (millisecs).
setMetaName(String) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the name of the metaServer.
setMinMS(double) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the minimum execution time of the service (millisecs).
setMissingDecoderBytes(int) - Method in interface cl.netswitch.lib.channel.CodecContext
Defines the number of missing bytes of the next decoded message.
setName(String) - Method in class cl.netswitch.lib.layout.Layout
Changes the name of this layout.
setNull(LayoutMessage, int) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the character sequence of the index occurence of this field in message with the NULL value.
setNull(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the value of the field identified by fieldName to NULL.
setNull(String, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the value of the field identified by fieldName and index to NULL.
setNumber(LayoutMessage, int, BigDecimal) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the decimal value of the index occurence of this field in message.
setNumber(String, int, BigDecimal) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the decimal value of the field identified by fieldName and index.
setNumber(String, BigDecimal) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the decimal value of the field identified by fieldName.
setObject(Serializable) - Method in class cl.netswitch.lib.message.Message
Changes the object containing the data of this Message.
setReaderBufferFreeSize(int) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the free size of the reader buffer (bytes).
setReaderBufferMaxSize(int) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the maximum size of the reader buffer (bytes).
setReaderBufferMinSize(int) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the minimum size of the reader buffer (bytes).
setReaderBufferWarnSize(int) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the warning size of the reader buffer (bytes).
setReadIndex(int) - Method in class cl.netswitch.lib.util.ByteArray
Sets the value of the readIndex.
setReadWriteIndex(int, int) - Method in class cl.netswitch.lib.util.ByteArray
Sets the value of the readIndex and writeIndex.
setSequence(LayoutMessage, int, String) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the unformatted character sequence of the index occurence of this field in message.
setSequence(String, int, String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the unformatted character sequence of the field identified by fieldName and index.
setSequence(String, String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the unformatted character sequence of the field identified by fieldName.
setServerName(String) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the execution server name.
setSharedParam(String, Object) - Method in interface cl.netswitch.lib.channel.CodecContext
Changes the object value of the shared parameter indexed by name.
setSharedParam(String, Object) - Method in interface cl.netswitch.lib.channel.FilterContext
Changes the object value of the shared parameter indexed by name.
setSignANSI(boolean) - Method in class cl.netswitch.lib.layout.LayoutMessage
Defines whether numeric fields are stored in this message using the ANSI format.
setSoKeepAlive(boolean) - Method in class cl.netswitch.lib.aio.ChannelBase
Enables or disables the SO_KEEPALIVE socket option.
setSslHandshakeTimeout(int) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the maximum time for an SSL handshake (milliseconds).
setStatsName(String) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the name of the execution statistics.
setStatsType(String) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the type of the execution statistics.
setStatus(int) - Method in class cl.netswitch.lib.message.Message
Changes the status of this Message.
setStrict(boolean) - Method in class cl.netswitch.lib.layout.LayoutMessage
Defines whether message editing is strict.
setString(LayoutMessage, int, String) - Method in class cl.netswitch.lib.layout.LayoutField
Changes the string value of the index occurence of this field in message.
setString(String, int, String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the string value of the field identified by fieldName and index.
setString(String, String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the string value of the field identified by fieldName.
setSwitchReplyTimeout(int) - Method in class cl.netswitch.lib.server.ServerChannel
Changes the maximum time to wait for a RunStart reply.
setTcpNoDelay(boolean) - Method in class cl.netswitch.lib.aio.ChannelBase
Enables or disables the TCP_NODELAY socket option.
setText(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Changes the text of this message.
setText(String) - Method in class cl.netswitch.lib.message.Message
Changes the string containing the data of this Message.
setTimeMS(double) - Method in class cl.netswitch.lib.dto.ExecStats
Changes the total execution time of the service (millisecs).
setTracing(boolean) - Method in class cl.netswitch.lib.aio.ChannelBase
Enables or disables tracing of inbound and outbound messages.
setTrustStoreFile(String) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the trust store file of this channel.
setType(Message.Type) - Method in class cl.netswitch.lib.message.Message
Changes the type of this Message.
setUnexpectedReplyListener(ReplyListener) - Method in class cl.netswitch.lib.client.ClientChannel
Changes the unexpected reply listener of this ClientChannel.
setValue(Object) - Method in class cl.netswitch.lib.aio.Waiter
Changes the value of this waiter.
setWriteIndex(int) - Method in class cl.netswitch.lib.util.ByteArray
Sets the value of the writeIndex.
setWriterQueueSize(int) - Method in class cl.netswitch.lib.aio.ChannelBase
Changes the value of the property writerQueueSize.
severe(String, Object...) - Method in class cl.netswitch.lib.aio.ChannelBase
Generate a severe error entry with message and args.
severe(String, Object...) - Method in interface cl.netswitch.lib.channel.CodecContext
Generates a severe log message using supplied arguments.
severe(String, Object...) - Method in interface cl.netswitch.lib.channel.FilterContext
Generates a severe log message using supplied arguments.
severe(String, Object...) - Method in class cl.netswitch.lib.server.ReplyEvent
Logs a severe message with supplied format and arguments.
severe(String, Object...) - Method in class cl.netswitch.lib.server.RequestEvent
Logs a severe message with supplied format and arguments.
severe(Throwable, String, Object...) - Method in class cl.netswitch.lib.aio.ChannelBase
Generate a severe error entry with message, args and throwable.
severe(Throwable, String, Object...) - Method in interface cl.netswitch.lib.channel.CodecContext
Generates a severe log message using supplied throwable and arguments.
severe(Throwable, String, Object...) - Method in interface cl.netswitch.lib.channel.FilterContext
Generates a severe log message using supplied throwable and arguments.
severe(Throwable, String, Object...) - Method in class cl.netswitch.lib.server.ReplyEvent
Logs a severe message with supplied throwable, format and arguments.
severe(Throwable, String, Object...) - Method in class cl.netswitch.lib.server.RequestEvent
Logs a severe message with supplied throwable, format and arguments.
SHORT - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a Short.
signal() - Method in class cl.netswitch.lib.aio.Waiter
Wakes up one waiting thread.
signalAll() - Method in class cl.netswitch.lib.aio.Waiter
Wakes up all waiting threads.
SIGNED - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Signed number layout field (S).
size() - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Returns the current size of the buffer of this UByteArrayOutputStream.
skip(long) - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Skips n bytes of input from this input stream.
SocketExecutor<T> - Interface in cl.netswitch.lib.server
Executes network I/O using a managed socket conection.
SocketServices - Interface in cl.netswitch.lib.server
Services for executing network I/O with managed sockets.
SQLExecutor<T> - Interface in cl.netswitch.lib.server
Executes an SQL statement using a managed database connection.
SQLServices - Interface in cl.netswitch.lib.server
Services for executing SQL statements and database procedures.
startTimer(int) - Method in class cl.netswitch.lib.server.ServerChannel
Schedules the execution of the handleTimer method at regular intervals.
stop() - Method in class cl.netswitch.lib.server.ServerChannel
Stops the execution of this ServerChannel.
stop(String) - Method in class cl.netswitch.lib.server.ServerChannel
Stops the execution of this ServerChannel with a reason.
Stop - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Stop message.
STRING - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is a String.
stringToXml(String, InputStream) - Static method in class cl.netswitch.lib.util.XmlUtil
Converts a XML string to a XML document validating with a schema.
substring(int, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns a substring that begins at the specified start index and extends to index end-1.
SUCCESS - Static variable in class cl.netswitch.lib.message.Message
Completion status indicating success.
SwitchMXBean - Interface in cl.netswitch.lib.jmx
MXBean used to manage and monitor a Switch server.
SwitchName - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Switch Name.

T

TaskResultEvent<T> - Class in cl.netswitch.lib.server
TaskResultEvent is used to notify that a task has computed a result.
TaskResultEvent(ServerChannel, T, Throwable, RequestEvent) - Constructor for class cl.netswitch.lib.server.TaskResultEvent
Constructs a new TaskResultEvent instance.
TaskResultListener<T> - Interface in cl.netswitch.lib.server
Listener interface for receiving task result events.
terminate(CodecContext) - Method in interface cl.netswitch.lib.channel.ChannelCodec
Called to terminate the ChannelCodec.
terminate(FilterContext) - Method in interface cl.netswitch.lib.channel.ChannelFilter
Called to terminate the ChannelFilter.
TEXT - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Text layout field (X).
throwOnError(Message) - Static method in exception cl.netswitch.lib.client.ClientException
Throws a ClientException if the status of the supplied message is an error.
throwOnError(Message) - Static method in exception cl.netswitch.lib.server.ServiceException
Throws a ServiceException if the status of the supplied message is an error.
TIMEOUT - Static variable in exception cl.netswitch.lib.server.ReplyTimeoutException
Error code that identifies a reply timeout event.
Timestamp - Enum constant in enum class cl.netswitch.lib.message.Message.Label
Timestamp.
toBuffer(int) - Method in class cl.netswitch.lib.message.Message
Encodes all the fields of this Message into a ByteBuffer.
toByteArray() - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Creates a newly allocated byte array.
toByteBuffer() - Method in class cl.netswitch.lib.util.ByteArray
Returns a ByteBuffer with the readable bytes of this array.
toBytes() - Method in class cl.netswitch.lib.util.ByteArray
Returns a byte array with the readable bytes of this array.
toCSV() - Method in class cl.netswitch.lib.dto.ExecStats
Returns a CSV string representation of this pool statistics.
toCSV() - Method in class cl.netswitch.lib.dto.ExecStatsList
Returns a CSV (comma-separated values) representation of the statistics.
toMessage() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns a Message with the text and layout name of this message.
toString() - Method in class cl.netswitch.lib.dto.ExecStats
Returns a string representation of this pool statistics.
toString() - Method in class cl.netswitch.lib.dto.ExecStatsList
Returns a string representation of the statistics.
toString() - Method in class cl.netswitch.lib.layout.Layout
Creates and returns a string serialization of this layout.
toString() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns a string representation of this message.
toString() - Method in class cl.netswitch.lib.message.Message
Returns a string representation of this Message.
toString() - Method in class cl.netswitch.lib.util.ByteArray
Returns a string representation of this array.
toString() - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Converts the buffer's contents into a string decoding bytes using the platform's default character set.
toString() - Method in class cl.netswitch.lib.util.UStringWriter
Returns the current contents of the buffer as a string.
toString(Charset) - Method in class cl.netswitch.lib.util.ByteArray
Decodes this buffer's readable bytes into a string with the specified character set name.
toString(Charset) - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Converts the buffer's contents into a string by decoding the bytes using the specified charset.
toTrace(byte[], int, int, boolean) - Static method in class cl.netswitch.lib.util.Buffers
Returns a trace representation of the supplied array of bytes.
toTrace(ByteBuffer, boolean) - Static method in class cl.netswitch.lib.util.Buffers
Returns a trace representation of the supplied ByteBuffer.
toXml() - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the XML string representation of the data stored in this message.
toXml(boolean, String, boolean, int) - Method in class cl.netswitch.lib.layout.LayoutMessage
Returns the XML string representation of the data stored in this message.
toXML(Object) - Static method in class cl.netswitch.lib.util.Beans
Converts an object to an XML string representation with no nulls.
toXML(Object, boolean) - Static method in class cl.netswitch.lib.util.Beans
Converts an object to an XML string representation with or without nulls.
toYAML(Object) - Static method in class cl.netswitch.lib.util.Beans
Converts an object to a YAML string representation with no nulls.
toYAML(Object, boolean) - Static method in class cl.netswitch.lib.util.Beans
Converts an object to a YAML string representation with or without nulls.
transferTo(OutputStream) - Method in class cl.netswitch.lib.util.UByteArrayInputStream
Reads all bytes from this input stream and writes the bytes to the given output stream in the order that they are read.

U

UByteArrayInputStream - Class in cl.netswitch.lib.util
Unsynchronized InputStream in which data is read from a byte array.
UByteArrayInputStream(byte[]) - Constructor for class cl.netswitch.lib.util.UByteArrayInputStream
Creates a UByteArrayInputStream so that it uses buffer as its buffer array.
UByteArrayInputStream(byte[], int, int) - Constructor for class cl.netswitch.lib.util.UByteArrayInputStream
Creates a UByteArrayInputStream that uses buffer as its buffer array.
UByteArrayOutputStream - Class in cl.netswitch.lib.util
Unsynchronized OutputStream in which data is written to a byte array.
UByteArrayOutputStream() - Constructor for class cl.netswitch.lib.util.UByteArrayOutputStream
Creates a new UByteArrayOutputStream.
UByteArrayOutputStream(int) - Constructor for class cl.netswitch.lib.util.UByteArrayOutputStream
Creates a new UByteArrayOutputStream, with a buffer capacity of the specified size, in bytes.
uncompressBytes(byte[]) - Static method in class cl.netswitch.lib.util.Convert
Returns an uncompressed representation of the supplied bytes.
uncompressBytes(byte[], int, int) - Static method in class cl.netswitch.lib.util.Convert
Returns an uncompressed representation of the specified byte range.
UNDEFINED - Enum constant in enum class cl.netswitch.lib.message.PropertyType
The value of the property is undefined (null).
UniqueID - Enum constant in enum class cl.netswitch.lib.message.Message.Label
UniqueID.
unlock() - Method in class cl.netswitch.lib.aio.Waiter
Attempts to release this lock.
updateStats(long) - Method in interface cl.netswitch.lib.server.ExecutionStats
Updates the execution statistics using supplied start time.
UStringWriter - Class in cl.netswitch.lib.util
A character stream that collects its output in an unsynchronized string builder, which can then be used to construct a string.
UStringWriter() - Constructor for class cl.netswitch.lib.util.UStringWriter
Create a new string writer using the default initial string builder size.
UStringWriter(int) - Constructor for class cl.netswitch.lib.util.UStringWriter
Create a new string writer using the specified initial string builder size.

V

valueOf(Serializable) - Static method in class cl.netswitch.lib.message.Message
Returns a Message built using the supplied object data.
valueOf(Serializable) - Static method in enum class cl.netswitch.lib.message.PropertyType
Returns the PropertyType of the supplied property value.
valueOf(String) - Static method in enum class cl.netswitch.lib.layout.FieldType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cl.netswitch.lib.message.Message.Label
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cl.netswitch.lib.message.Message.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cl.netswitch.lib.message.PropertyType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cl.netswitch.lib.layout.FieldType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cl.netswitch.lib.message.Message.Label
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cl.netswitch.lib.message.Message.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cl.netswitch.lib.message.PropertyType
Returns an array containing the constants of this enum class, in the order they are declared.
verifyLayout(String) - Method in class cl.netswitch.lib.layout.LayoutMessage
Verifies that the name of the layout of this message matches the supplied layoutName.
VERSION - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Version pseudo layout field (VR).

W

Waiter - Class in cl.netswitch.lib.aio
Blocks the current thread and waits until a condition occurs.
Waiter() - Constructor for class cl.netswitch.lib.aio.Waiter
Constructs a new Waiter instance.
warning(String, Object...) - Method in class cl.netswitch.lib.aio.ChannelBase
Generate a warning entry with message and args.
warning(String, Object...) - Method in interface cl.netswitch.lib.channel.CodecContext
Generates a warning log message using supplied arguments.
warning(String, Object...) - Method in interface cl.netswitch.lib.channel.FilterContext
Generates a warning log message using supplied arguments.
warning(String, Object...) - Method in class cl.netswitch.lib.server.ReplyEvent
Logs a warning message with supplied format and arguments.
warning(String, Object...) - Method in class cl.netswitch.lib.server.RequestEvent
Logs a warning message with supplied format and arguments.
write(byte[], int, int) - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Writes length bytes from the specified byte array starting at offset offset to this UByteArrayOutputStream.
write(char[], int, int) - Method in class cl.netswitch.lib.util.UStringWriter
Writes a portion of an array of characters.
write(int) - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Writes the specified byte to this UByteArrayOutputStream.
write(int) - Method in class cl.netswitch.lib.util.UStringWriter
Writes a single character.
write(String) - Method in class cl.netswitch.lib.util.UStringWriter
Writes a string.
write(String, int, int) - Method in class cl.netswitch.lib.util.UStringWriter
Writes a portion of a string.
write7bitBytes(byte[]) - Method in class cl.netswitch.lib.util.ByteArray
Writes the 7bit encoding of the supplied byte array at current writeIndex.
write7bitInt(int) - Method in class cl.netswitch.lib.util.ByteArray
Writes the 7bit encoding of the supplied integer value at current writeIndex.
write7bitString(String) - Method in class cl.netswitch.lib.util.ByteArray
Writes the 7bit encoding of the supplied string at current writeIndex.
writeByte(int) - Method in class cl.netswitch.lib.util.ByteArray
Writes the supplied byte value at current writeIndex.
writeByte(int, int) - Method in class cl.netswitch.lib.util.ByteArray
Writes a byte at the specified absolute index.
writeBytes(byte[]) - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Writes the complete contents of the specified byte array to this UByteArrayOutputStream.
writeBytes(byte[], int, int) - Method in class cl.netswitch.lib.util.ByteArray
Transfers the supplied bytes to this array starting at current writeIndex.
writeBytes(ByteArray) - Method in class cl.netswitch.lib.util.ByteArray
Transfers the source byte array's readable data to this byte array.
writeCompleted(Throwable) - Method in interface cl.netswitch.lib.aio.WriteHandler
Called after an asynchronous write operation has completed.
writeDouble(double) - Method in class cl.netswitch.lib.util.ByteArray
Writes the supplied double value at current writeIndex.
writeDouble(int, double) - Method in class cl.netswitch.lib.util.ByteArray
Writes a double at the specified absolute index.
writeFloat(float) - Method in class cl.netswitch.lib.util.ByteArray
Writes the supplied float value at current writeIndex.
writeFloat(int, float) - Method in class cl.netswitch.lib.util.ByteArray
Writes a float at the specified absolute index.
WriteHandler - Interface in cl.netswitch.lib.aio
A handler for consuming the result of an asynchronous write operation.
writeInt(int) - Method in class cl.netswitch.lib.util.ByteArray
Writes the supplied integer value at current writeIndex.
writeInt(int, int) - Method in class cl.netswitch.lib.util.ByteArray
Writes an integer at the specified absolute index.
writeLong(int, long) - Method in class cl.netswitch.lib.util.ByteArray
Writes a long at the specified absolute index.
writeLong(long) - Method in class cl.netswitch.lib.util.ByteArray
Writes the supplied long value at current writeIndex.
writeMessage(Message) - Method in class cl.netswitch.lib.aio.ChannelBase
Writes the supplied outbound message to this channel.
writeMessage(Message, WriteHandler) - Method in class cl.netswitch.lib.aio.ChannelBase
Writes the supplied outbound message with optional write handler.
writeShort(int) - Method in class cl.netswitch.lib.util.ByteArray
Writes the supplied short value at current writeIndex.
writeShort(int, int) - Method in class cl.netswitch.lib.util.ByteArray
Writes a short at the specified absolute index.
writeStatistics() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Write server statistics to log file.
writeTo(OutputStream) - Method in class cl.netswitch.lib.util.UByteArrayOutputStream
Writes the complete contents of this UByteArrayOutputStream to the specified output stream argument, as if by calling the output stream's write method using output.write(buffer, 0, count).
writeToStream(OutputStream) - Method in class cl.netswitch.lib.util.ByteArray
Write the readable bytes of this array to the supplied output stream.

X

XmlUtil - Class in cl.netswitch.lib.util
Provides static utility methods that perform XML operations.
A B C D E F G H I J L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form