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

addDelayedEvent(DeplayedEvent) - Method in class cl.netswitch.lib.server.DefaultContext
Adds a delayed event to this queue of delayed events.
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 class cl.netswitch.lib.server.DefaultContext
Adds the supplied pending reply to a synchronized shared table that is accessible to all threads controlled by the server context of this channel.
addPendingReply(PendingReply) - Method in interface cl.netswitch.lib.server.ServerContext
Adds the supplied pending reply to a synchronized 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.
ALPHA - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Alphanumeric layout field (A).
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.

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.
ChannelMXBean - Interface in cl.netswitch.lib.jmx
MXBean used to manage and monitor a NetSwitch channel.
ChannelTrust - Class in cl.netswitch.lib.aio
X509 Trust Manager that authenticates NetSwitch secure channels.
ChannelTrust() - Constructor for class cl.netswitch.lib.aio.ChannelTrust
 
checkClientTrusted(X509Certificate[], String) - Method in class cl.netswitch.lib.aio.ChannelTrust
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for client SSL authentication based on the authentication type.
checkServerTrusted(X509Certificate[], String) - Method in class cl.netswitch.lib.aio.ChannelTrust
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for server SSL authentication based on the authentication type.
CHECKSUM - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Checksum pseudo layout field (CS).
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.http - package cl.netswitch.lib.http
Classes and interfaces that implement the NetSwitch HTTP Listener.
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() - 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 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.
clearStatistics(String) - Method in class cl.netswitch.lib.server.ServerChannel
Clears the statistics of a specific service or all services.
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(String) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException instance with a message.
ClientException(String, Throwable) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException instance with message and cause.
ClientException(Throwable) - Constructor for exception cl.netswitch.lib.client.ClientException
Constructs a new ClientException instance 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.
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.
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 NetSwitch server using supplied name and nameOrUri.
connect(String, String, String, String) - Method in class cl.netswitch.lib.client.ClientChannel
Connects this ClientChannel to a NetSwitch server using supplied arguments.
connect(String, Properties) - Method in class cl.netswitch.lib.client.ClientChannel
Connects this ClientChannel to NetSwitch 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.
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.DefaultContext
Decodes an encoded password using supplied arguments.
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.
DefaultContext - Class in cl.netswitch.lib.server
Default implementation of a ServerContext.
DefaultContext(ServerChannel) - Constructor for class cl.netswitch.lib.server.DefaultContext
Constructs a new DefaultContext instance.
defineHistogram(int, int, int, String) - Method in class cl.netswitch.lib.server.ServerChannel
Defines the execution histogram of a specific service or all services.
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 a NetSwitch 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.
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(String[], String) - Method in class cl.netswitch.lib.server.ServerChannel
Starts the execution of this ServerChannel.
execute(String[], String, ServerContext) - Method in class cl.netswitch.lib.server.ServerChannel
Starts the execution of this 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(Session) - Method in interface cl.netswitch.lib.server.JschExecutor
Executes an operation using supplied Java Secure Channel (JSCH).
executeJsch(String, JschExecutor<T>) - Method in class cl.netswitch.lib.server.DefaultContext
Allocates a connected JSCH (Java Secure Channel) session from the specified pool and then executes the supplied executor.
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>) - 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(String, SocketExecutor<T>) - Method in class cl.netswitch.lib.server.DefaultContext
Allocates a socket from the specified pool and then 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.ServerContext
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(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(String, SQLExecutor<T>) - Method in class cl.netswitch.lib.server.DefaultContext
Allocates a connection from the specified pool and then 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.ServerContext
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(Connection) - Method in interface cl.netswitch.lib.server.SQLExecutor
Executes an SQL statement using a managed database connection.
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.
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

getAcceptedIssuers() - Method in class cl.netswitch.lib.aio.ChannelTrust
Return an array of certificate authority certificates which are trusted for authenticating peers.
getAddress() - Method in class cl.netswitch.lib.http.HttpListener
Returns the socket address (host+port) of this HTTP Listener.
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.
getBacklog() - Method in class cl.netswitch.lib.http.HttpListener
Returns the backlog of this HTTP Listener.
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.
getBinWidth() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the time width of each bin of the execution histogram (millisecs).
getBoolean(String) - Method in class cl.netswitch.lib.message.Message
Returns the boolean value of the property indexed by name.
getByte(String) - Method in class cl.netswitch.lib.message.Message
Returns the byte value of the property indexed by name.
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.
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.
getContextPaths() - Method in class cl.netswitch.lib.http.HttpListener
Returns an unmodifiable set with all registered context paths.
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.
getDisplayName() - Method in interface cl.netswitch.lib.jmx.ChannelMXBean
Returns the display name of the channel.
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.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.
getExecutions() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the total number of times the service has been executed.
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.
getHistoBins() - Method in class cl.netswitch.lib.server.ServiceStats
Returns an array with the bins of the execution histogram.
getIdleTimeout() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the server's idle timeout.
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.
getKeyStoreFile() - Method in class cl.netswitch.lib.http.HttpListener
Returns the key store file of this HTTP Listener.
getKeyStorePassword() - Method in class cl.netswitch.lib.http.HttpListener
Returns the key store password of this HTTP Listener.
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.
getLocalAddress() - Method in interface cl.netswitch.lib.jmx.ChannelMXBean
Returns the string presensentation of the channel local address.
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.
getLowerLimit() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the lower limit of the execution histogram (millisecs).
getMaxTime() - Method in class cl.netswitch.lib.server.ServiceStats
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.
getMinTime() - Method in class cl.netswitch.lib.server.ServiceStats
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 NetSwitch server 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.
getNetSwitchReplyTimeout() - Method in class cl.netswitch.lib.server.ServerChannel
Returns the maximum time to wait for a NetSwitch reply.
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 NetSwitch server connected to this ClientChannel, or null if this ClientChannel is not connected.
getNetSwitchVersion() - Method in interface cl.netswitch.lib.jmx.NetSwitchMXBean
Returns the implementation version of the NetSwitch server.
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.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.
getOverflows() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the number of times the service execution time was bigger than upper limit.
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.ChannelMXBean
Returns the total number of poll messages.
getPollMessages() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of poll messages.
getProcessID() - Method in class cl.netswitch.lib.server.DefaultContext
Returns the unique process identification of the server channel.
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 an unmodifiable map with the properties of all logical channels.
getProperties() - Method in class cl.netswitch.lib.server.DefaultContext
Returns an unmodifiable map with all the properties of this context.
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.DefaultContext
Returns the value of the property indexed by specified name.
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.ChannelMXBean
Returns the total number of bytes read.
getReaderBytes() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of bytes read.
getReaderBytes() - Method in interface cl.netswitch.lib.server.ServerMXBean
Returns the number of bytes read by the ServerChannel.
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.ChannelMXBean
Returns the total number of messages read.
getReaderMessages() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of messages read.
getReaderMessages() - Method in interface cl.netswitch.lib.server.ServerMXBean
Returns the number of messages read by the ServerChannel.
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.
getRemoteAddress() - Method in interface cl.netswitch.lib.jmx.ChannelMXBean
Returns the string presensentation of the channel remote address.
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.http.HttpListener
Returns the server channel that owns this HTTP Listener.
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.
getServerID() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the unique identification of the server.
getServerName() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the name of the server.
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.
getServiceName() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the service name of this RequestEvent.
getServiceName() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the name of the service.
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.ChannelMXBean
Returns the string presensentation of the channel state.
getState() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the string presensentation of the endpoint state.
getStatistics(String) - Method in class cl.netswitch.lib.server.ServerChannel
Returns a list with statistics of a specific service or all services.
getStats() - Method in class cl.netswitch.lib.server.ServiceStatsList
Returns the execution statistics of a list of services.
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.server.ReplyEvent
Returns the success reply message of this ReplyEvent.
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.
getTimeout() - Method in class cl.netswitch.lib.server.RequestEvent
Returns the timeout of this RequestEvent.
getTotalTime() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the total execution time of the service (millisecs).
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.
getTrustStoreFile() - Method in class cl.netswitch.lib.http.HttpListener
Returns the trust store file of this HTTP Listener.
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.
getUnderflows() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the number of times the service execution time was smaller than lower limit.
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.
getUpperLimit() - Method in class cl.netswitch.lib.server.ServiceStats
Returns the upper limit of the execution histogram (millisecs).
getURL() - Method in class cl.netswitch.lib.http.HttpListener
Returns an URL with protocol and listen address of this HTTP Listener.
getUserMessage() - Method in exception cl.netswitch.lib.server.ServiceException
Returns the user message of this ServiceException.
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.ChannelMXBean
Returns the total number of bytes written.
getWriterBytes() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of bytes written.
getWriterBytes() - Method in interface cl.netswitch.lib.server.ServerMXBean
Returns the number of bytes written by the ServerChannel.
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.ChannelMXBean
Returns the total number of messages written.
getWriterMessages() - Method in interface cl.netswitch.lib.jmx.EndpointMXBean
Returns the total number of messages written.
getWriterMessages() - Method in interface cl.netswitch.lib.server.ServerMXBean
Returns the number of messages written by the ServerChannel.
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 NetSwitch 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.
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.
HttpListener - Class in cl.netswitch.lib.http
Implements the NetSwitch HTTP Listener.
HttpListener() - Constructor for class cl.netswitch.lib.http.HttpListener
Constructs a new HttpListener instance.
HttpListener(ServerChannel) - Constructor for class cl.netswitch.lib.http.HttpListener
Constructs a new HttpListener instance with server channel.

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.
initHttpsConnection(HttpURLConnection, File) - Static method in class cl.netswitch.lib.util.WebUtil
Initializes the security properties of a HttpsURLConnection.
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 - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Initialize message.
initWebServicePort(Object, String, int, int, File) - Static method in class cl.netswitch.lib.util.WebUtil
Initializes properties of a Web Service Port.
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.
isStopped() - Method in class cl.netswitch.lib.http.HttpListener
Returns true if this HTTP Listener is stopped.
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.
isTracing() - Method in interface cl.netswitch.lib.server.ServerMXBean
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.
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).
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
NetSwitch Console startup procedure.
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.
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

NetSwitchMXBean - Interface in cl.netswitch.lib.jmx
MXBean used to manage and monitor a NetSwitch server.
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

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.
PropertyType - Enum Class in cl.netswitch.lib.message
Type of the value of a Message property.
PROTOCOL_VERSION - Static variable in class cl.netswitch.lib.message.Message
NetSwitch native protocol version.
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

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.
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.
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.
registerContextPath(String, Object) - Method in class cl.netswitch.lib.http.HttpListener
Registers the specified context path with an implementor.
removeDelayedEvent(DeplayedEvent) - Method in class cl.netswitch.lib.server.DefaultContext
Removes a delayed event from this queue of delayed events.
removeDelayedEvent(DeplayedEvent) - Method in interface cl.netswitch.lib.server.ServerContext
Removes a delayed event from this queue of delayed events.
removeLabel(Message.Label) - Method in class cl.netswitch.lib.message.Message
Removes the label indexed by the key.
removePendingReply(String) - Method in class cl.netswitch.lib.server.DefaultContext
Removes and returns the pending reply indexed by given 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.
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 class cl.netswitch.lib.server.DefaultContext
Executes the given task asynchronously in a separate thread.
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.
RunDone - Enum constant in enum class cl.netswitch.lib.message.Message.Type
Run done 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 class cl.netswitch.lib.server.DefaultContext
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
Sends no reply message but marks the request as having sent a reply.
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.handleReply 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.handleReply 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.server
Interface of the MXBean of a ServerChannel.
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.
ServiceStats - Class in cl.netswitch.lib.server
Provides execution statistics of a service.
ServiceStats() - Constructor for class cl.netswitch.lib.server.ServiceStats
Constructs a new ServiceStats instance.
ServiceStatsList - Class in cl.netswitch.lib.server
Provides execution statistics of a list of services.
ServiceStatsList() - Constructor for class cl.netswitch.lib.server.ServiceStatsList
Constructs a new ServiceStatsList instance.
ServiceStatsList(List<ServiceStats>) - Constructor for class cl.netswitch.lib.server.ServiceStatsList
Constructs a new ServiceStatsList instance with supplied list.
setAddress(InetSocketAddress) - Method in class cl.netswitch.lib.http.HttpListener
Changes the socket address (host+port) of this HTTP Listener.
setBacklog(int) - Method in class cl.netswitch.lib.http.HttpListener
Changes the backlog of this HTTP Listener.
setBinWidth(int) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the time width of each bin of the execution histogram (millisecs).
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.
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.
setExecutions(int) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the total number of times the service has been executed.
setHistoBins(int[]) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the array with the bins of the execution histogram.
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.
setKeyStoreFile(File) - Method in class cl.netswitch.lib.http.HttpListener
Changes the key store file of this HTTP Listener.
setKeyStorePassword(String) - Method in class cl.netswitch.lib.http.HttpListener
Changes the key store password of this HTTP Listener.
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.
setLowerLimit(int) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the lower limit of the execution histogram (millisecs).
setMaxTime(int) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the maximum execution time of the service (millisecs).
setMinTime(int) - Method in class cl.netswitch.lib.server.ServiceStats
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.
setNetSwitchReplyTimeout(int) - Method in class cl.netswitch.lib.server.ServerChannel
Changes the maximum time to wait for a NetSwitch reply.
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.
setOverflows(int) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the number of times the service execution time was bigger than upper limit.
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.
setServerID(int) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the unique identification of the server.
setServerName(String) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the name of the server.
setServiceName(String) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the name of the service.
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).
setStats(List<ServiceStats>) - Method in class cl.netswitch.lib.server.ServiceStatsList
Changes the execution statistics of a list of services.
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.
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.
setTotalTime(long) - Method in class cl.netswitch.lib.server.ServiceStats
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.
setTracing(boolean) - Method in interface cl.netswitch.lib.server.ServerMXBean
Enables or disables tracing of inbound and outbound messages.
setTrustStoreFile(File) - Method in class cl.netswitch.lib.http.HttpListener
Changes the trust store file of this HTTP Listener.
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.
setUnderflows(int) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the number of times the service execution time was smaller than lower limit.
setUnexpectedReplyListener(ReplyListener) - Method in class cl.netswitch.lib.client.ClientChannel
Changes the unexpected reply listener of this ClientChannel.
setUpperLimit(int) - Method in class cl.netswitch.lib.server.ServiceStats
Changes the upper limit of the execution histogram (millisecs).
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.
SIGNED - Enum constant in enum class cl.netswitch.lib.layout.FieldType
Signed number layout field (S).
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.
start() - Method in class cl.netswitch.lib.http.HttpListener
Starts the execution of this HTTP Listener.
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(int) - Method in class cl.netswitch.lib.http.HttpListener
Stops the execution of this HTTP Listener.
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.
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).
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() - Method in class cl.netswitch.lib.message.Message
Encodes all the fields of this Message into a ByteBuffer.
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(boolean) - Method in class cl.netswitch.lib.server.ServiceStats
Returns a CSV string representation of this service statistics.
toCSV(boolean) - Method in class cl.netswitch.lib.server.ServiceStatsList
Returns a CSV string representation of this list of service 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.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.server.ServiceStats
Returns a string representation of this service statistics.
toString() - Method in class cl.netswitch.lib.server.ServiceStatsList
Returns a string representation of this list of service statistics.
toString() - Method in class cl.netswitch.lib.util.ByteArray
Returns a string representation of this array.
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.
toTrace(byte[], 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.

U

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.
unregisterContextPath(String) - Method in class cl.netswitch.lib.http.HttpListener
Unregisters the specified context path.

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

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.
WebUtil - Class in cl.netswitch.lib.util
Provides static utility methods used to configure Web Services.
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[], 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 when 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.
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