A B C D E G H I M N O P R S T

A

AbstractMessage - Class in org.apache.mina.examples.sumup.message
A base message for SumUp protocol messages.
AbstractMessage() - Constructor for class org.apache.mina.examples.sumup.message.AbstractMessage
 
AbstractMessageDecoder - Class in org.apache.mina.examples.sumup.codec
A MessageDecoder that decodes message header and forwards the decoding of body to a subclass.
AbstractMessageDecoder(int) - Constructor for class org.apache.mina.examples.sumup.codec.AbstractMessageDecoder
 
AbstractMessageEncoder - Class in org.apache.mina.examples.sumup.codec
A MessageEncoder that encodes message header and forwards the encoding of body to a subclass.
AbstractMessageEncoder(int) - Constructor for class org.apache.mina.examples.sumup.codec.AbstractMessageEncoder
 
ADD - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
ADD_BODY_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
AddMessage - Class in org.apache.mina.examples.sumup.message
ADD message in SumUp protocol.
AddMessage() - Constructor for class org.apache.mina.examples.sumup.message.AddMessage
 
AddMessageDecoder - Class in org.apache.mina.examples.sumup.codec
A MessageDecoder that decodes AddMessage.
AddMessageDecoder() - Constructor for class org.apache.mina.examples.sumup.codec.AddMessageDecoder
 
AddMessageEncoder - Class in org.apache.mina.examples.sumup.codec
A MessageEncoder that encodes AddMessage.
AddMessageEncoder() - Constructor for class org.apache.mina.examples.sumup.codec.AddMessageEncoder
 

B

BODY_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
BogusSSLContextFactory - Class in org.apache.mina.examples.echoserver.ssl
Factory to create a bougus SSLContext.
BogusSSLContextFactory() - Constructor for class org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory
 

C

Client - Class in org.apache.mina.examples.sumup
(Entry Point) Starts SumUp client.
Client() - Constructor for class org.apache.mina.examples.sumup.Client
 
ClientProtocolProvider - Class in org.apache.mina.examples.sumup
ProtocolProvider for SumUp client.
ClientProtocolProvider(int[]) - Constructor for class org.apache.mina.examples.sumup.ClientProtocolProvider
 
ClientSessionHandler - Class in org.apache.mina.examples.sumup
ProtocolHandler for SumUp client.
ClientSessionHandler(int[]) - Constructor for class org.apache.mina.examples.sumup.ClientSessionHandler
 
Constants - Class in org.apache.mina.examples.sumup.codec
Provides SumUp protocol constants.
createServerSocket(int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
createServerSocket(int, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
createServerSocket(int, int, InetAddress) - Method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
createSocket(String, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
createSocket(InetAddress, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 

D

dataRead(IoSession, ByteBuffer) - Method in class org.apache.mina.examples.echoserver.EchoProtocolHandler
 
dataRead(IoSession, ByteBuffer) - Method in class org.apache.mina.examples.netcat.NetCatProtocolHandler
 
decodable(ProtocolSession, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageDecoder
 
decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.examples.reverser.TextLineDecoder
 
decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageDecoder
 
decodeBody(ProtocolSession, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageDecoder
 
decodeBody(ProtocolSession, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AddMessageDecoder
 
decodeBody(ProtocolSession, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.ResultMessageDecoder
 

E

EchoProtocolHandler - Class in org.apache.mina.examples.echoserver
IoHandler implementation for echo server.
EchoProtocolHandler() - Constructor for class org.apache.mina.examples.echoserver.EchoProtocolHandler
 
encode(ProtocolSession, Object, ProtocolEncoderOutput) - Method in class org.apache.mina.examples.reverser.TextLineEncoder
 
encode(ProtocolSession, Object, ProtocolEncoderOutput) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageEncoder
 
encodeBody(ProtocolSession, AbstractMessage, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageEncoder
 
encodeBody(ProtocolSession, AbstractMessage, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AddMessageEncoder
 
encodeBody(ProtocolSession, AbstractMessage, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.ResultMessageEncoder
 
exceptionCaught(IoSession, Throwable) - Method in class org.apache.mina.examples.echoserver.EchoProtocolHandler
 
exceptionCaught(ProtocolSession, Throwable) - Method in class org.apache.mina.examples.reverser.ReverseProtocolHandler
 
exceptionCaught(ProtocolSession, Throwable) - Method in class org.apache.mina.examples.sumup.ClientSessionHandler
 
exceptionCaught(ProtocolSession, Throwable) - Method in class org.apache.mina.examples.sumup.ServerSessionHandler
 

G

getCodecFactory() - Method in class org.apache.mina.examples.reverser.ReverseProtocolProvider
 
getCodecFactory() - Method in class org.apache.mina.examples.sumup.ClientProtocolProvider
 
getCodecFactory() - Method in class org.apache.mina.examples.sumup.ServerProtocolProvider
 
getCodecFactory() - Method in class org.apache.mina.examples.tennis.TennisPlayer
 
getHandler() - Method in class org.apache.mina.examples.reverser.ReverseProtocolProvider
 
getHandler() - Method in class org.apache.mina.examples.sumup.ClientProtocolProvider
 
getHandler() - Method in class org.apache.mina.examples.sumup.ServerProtocolProvider
 
getHandler() - Method in class org.apache.mina.examples.tennis.TennisPlayer
 
getInstance(boolean) - Static method in class org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory
Get SSLContext singleton.
getMessageTypes() - Method in class org.apache.mina.examples.sumup.codec.AddMessageEncoder
 
getMessageTypes() - Method in class org.apache.mina.examples.sumup.codec.ResultMessageEncoder
 
getSequence() - Method in class org.apache.mina.examples.sumup.message.AbstractMessage
 
getServerSocketFactory() - Static method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
getSocketFactory() - Static method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
getTTL() - Method in class org.apache.mina.examples.tennis.TennisBall
Returns the TTL value of this ball.
getValue() - Method in class org.apache.mina.examples.sumup.message.AddMessage
 
getValue() - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 

H

HEADER_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
HttpProtocolHandler - Class in org.apache.mina.examples.httpserver
A simplistic HTTP protocol handler that replies back the URL and headers which a client requested.
HttpProtocolHandler() - Constructor for class org.apache.mina.examples.httpserver.HttpProtocolHandler
 

I

isFinished() - Method in class org.apache.mina.examples.sumup.ClientSessionHandler
 
isOk() - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
isSslEnabled() - Static method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
isSslEnabled() - Static method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 

M

Main - Class in org.apache.mina.examples.echoserver
(Entry point) Echo server
Main() - Constructor for class org.apache.mina.examples.echoserver.Main
 
main(String[]) - Static method in class org.apache.mina.examples.echoserver.Main
 
Main - Class in org.apache.mina.examples.httpserver
(Entry point) HTTP server
Main() - Constructor for class org.apache.mina.examples.httpserver.Main
 
main(String[]) - Static method in class org.apache.mina.examples.httpserver.Main
 
Main - Class in org.apache.mina.examples.netcat
(Entry point) NetCat client.
Main() - Constructor for class org.apache.mina.examples.netcat.Main
 
main(String[]) - Static method in class org.apache.mina.examples.netcat.Main
 
Main - Class in org.apache.mina.examples.reverser
(Entry point) Reverser server which reverses all text lines from clients.
Main() - Constructor for class org.apache.mina.examples.reverser.Main
 
main(String[]) - Static method in class org.apache.mina.examples.reverser.Main
 
main(String[]) - Static method in class org.apache.mina.examples.sumup.Client
 
main(String[]) - Static method in class org.apache.mina.examples.sumup.Server
 
Main - Class in org.apache.mina.examples.tennis
(Entry point) An 'in-VM pipe' example which simulates a tennis game between client and server.
Main() - Constructor for class org.apache.mina.examples.tennis.Main
 
main(String[]) - Static method in class org.apache.mina.examples.tennis.Main
 
messageReceived(ProtocolSession, Object) - Method in class org.apache.mina.examples.reverser.ReverseProtocolHandler
 
messageReceived(ProtocolSession, Object) - Method in class org.apache.mina.examples.sumup.ClientSessionHandler
 
messageReceived(ProtocolSession, Object) - Method in class org.apache.mina.examples.sumup.ServerSessionHandler
 
messageSent(ProtocolSession, Object) - Method in class org.apache.mina.examples.sumup.ServerSessionHandler
 

N

NetCatProtocolHandler - Class in org.apache.mina.examples.netcat
IoHandler implementation for NetCat client.
NetCatProtocolHandler() - Constructor for class org.apache.mina.examples.netcat.NetCatProtocolHandler
 

O

org.apache.mina.examples.echoserver - package org.apache.mina.examples.echoserver
Echo server which demonstates low-level I/O layer and SSL support.
org.apache.mina.examples.echoserver.ssl - package org.apache.mina.examples.echoserver.ssl
SSL support classes.
org.apache.mina.examples.httpserver - package org.apache.mina.examples.httpserver
Simplistic HTTP server which demonstates stream-based I/O support.
org.apache.mina.examples.netcat - package org.apache.mina.examples.netcat
NetCat client (Network + Unix cat command) which demonstates low-level I/O layer.
org.apache.mina.examples.reverser - package org.apache.mina.examples.reverser
Reverser server which reverses all text lines demonstating high-level protocol layer.
org.apache.mina.examples.sumup - package org.apache.mina.examples.sumup
 
org.apache.mina.examples.sumup.codec - package org.apache.mina.examples.sumup.codec
 
org.apache.mina.examples.sumup.message - package org.apache.mina.examples.sumup.message
 
org.apache.mina.examples.tennis - package org.apache.mina.examples.tennis
Two tennis players play a game which demonstates in-VM pipes.

P

processStreamIo(IoSession, InputStream, OutputStream) - Method in class org.apache.mina.examples.httpserver.HttpProtocolHandler
 

R

RESULT - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
RESULT_CODE_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
RESULT_ERROR - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
RESULT_OK - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
RESULT_VALUE_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
ResultMessage - Class in org.apache.mina.examples.sumup.message
RESULT message in SumUp protocol.
ResultMessage() - Constructor for class org.apache.mina.examples.sumup.message.ResultMessage
 
ResultMessageDecoder - Class in org.apache.mina.examples.sumup.codec
A MessageDecoder that decodes ResultMessage.
ResultMessageDecoder() - Constructor for class org.apache.mina.examples.sumup.codec.ResultMessageDecoder
 
ResultMessageEncoder - Class in org.apache.mina.examples.sumup.codec
A MessageEncoder that encodes ResultMessage.
ResultMessageEncoder() - Constructor for class org.apache.mina.examples.sumup.codec.ResultMessageEncoder
 
ReverseProtocolHandler - Class in org.apache.mina.examples.reverser
ProtocolHandler implementation of reverser server protocol.
ReverseProtocolHandler() - Constructor for class org.apache.mina.examples.reverser.ReverseProtocolHandler
 
ReverseProtocolProvider - Class in org.apache.mina.examples.reverser
ProtocolProvider implementation for reverser server protocol.
ReverseProtocolProvider() - Constructor for class org.apache.mina.examples.reverser.ReverseProtocolProvider
 

S

SEQUENCE_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
Server - Class in org.apache.mina.examples.sumup
(Entry Point) Starts SumUp server.
Server() - Constructor for class org.apache.mina.examples.sumup.Server
 
ServerProtocolProvider - Class in org.apache.mina.examples.sumup
ProtocolProvider for SumUp server.
ServerProtocolProvider() - Constructor for class org.apache.mina.examples.sumup.ServerProtocolProvider
 
ServerSessionHandler - Class in org.apache.mina.examples.sumup
ProtocolHandler for SumUp server.
ServerSessionHandler() - Constructor for class org.apache.mina.examples.sumup.ServerSessionHandler
 
sessionClosed(IoSession) - Method in class org.apache.mina.examples.netcat.NetCatProtocolHandler
 
sessionClosed(ProtocolSession) - Method in class org.apache.mina.examples.sumup.ServerSessionHandler
 
sessionCreated(IoSession) - Method in class org.apache.mina.examples.echoserver.EchoProtocolHandler
 
sessionCreated(ProtocolSession) - Method in class org.apache.mina.examples.sumup.ClientSessionHandler
 
sessionCreated(ProtocolSession) - Method in class org.apache.mina.examples.sumup.ServerSessionHandler
 
sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.examples.netcat.NetCatProtocolHandler
 
sessionIdle(ProtocolSession, IdleStatus) - Method in class org.apache.mina.examples.sumup.ServerSessionHandler
 
sessionOpened(IoSession) - Method in class org.apache.mina.examples.netcat.NetCatProtocolHandler
 
sessionOpened(ProtocolSession) - Method in class org.apache.mina.examples.sumup.ClientSessionHandler
 
sessionOpened(ProtocolSession) - Method in class org.apache.mina.examples.sumup.ServerSessionHandler
 
setOk(boolean) - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
setSequence(int) - Method in class org.apache.mina.examples.sumup.message.AbstractMessage
 
setSslEnabled(boolean) - Static method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
setSslEnabled(boolean) - Static method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
setValue(int) - Method in class org.apache.mina.examples.sumup.message.AddMessage
 
setValue(int) - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
SSLServerSocketFactory - Class in org.apache.mina.examples.echoserver.ssl
Simple Server Socket factory to create sockets with or without SSL enabled.
SSLServerSocketFactory() - Constructor for class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
SSLSocketFactory - Class in org.apache.mina.examples.echoserver.ssl
Simple Socket factory to create sockets with or without SSL enabled.
SSLSocketFactory() - Constructor for class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
stroke() - Method in class org.apache.mina.examples.tennis.TennisBall
Returns the ball after TennisPlayer's stroke.
SumUpProtocolCodecFactory - Class in org.apache.mina.examples.sumup.codec
A ProtocolCodecFactory that provides a protocol codec for SumUp protocol.
SumUpProtocolCodecFactory(boolean) - Constructor for class org.apache.mina.examples.sumup.codec.SumUpProtocolCodecFactory
 

T

TennisBall - Class in org.apache.mina.examples.tennis
A tennis ball which has TTL value and state whose value is one of 'PING' and 'PONG'.
TennisBall(int) - Constructor for class org.apache.mina.examples.tennis.TennisBall
Creates a new ball with the specified TTL (Time To Live) value.
TennisPlayer - Class in org.apache.mina.examples.tennis
A ProtocolHandler implementation which plays a tennis game.
TennisPlayer() - Constructor for class org.apache.mina.examples.tennis.TennisPlayer
 
TextLineDecoder - Class in org.apache.mina.examples.reverser
Decodes a text line into a string.
TextLineDecoder() - Constructor for class org.apache.mina.examples.reverser.TextLineDecoder
 
TextLineEncoder - Class in org.apache.mina.examples.reverser
Encodes a string into a text line which ends with "\r\n".
TextLineEncoder() - Constructor for class org.apache.mina.examples.reverser.TextLineEncoder
 
toString() - Method in class org.apache.mina.examples.sumup.message.AddMessage
 
toString() - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
toString() - Method in class org.apache.mina.examples.tennis.TennisBall
Returns string representation of this message ([PING|PONG] (TTL)).
TYPE_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 

A B C D E G H I M N O P R S T