A B C D E F G H I J K L M N P Q R S T U V W X

A

A_CODE - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
A_ENCODING - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
A_FEATURES - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
A_LOCALIZE - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
A_NUMBER - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
A_URI - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
AbstractMinaPeer - Class in net.sf.beep4j.transport.mina
 
AbstractMinaPeer() - Constructor for class net.sf.beep4j.transport.mina.AbstractMinaPeer
 
accept() - Method in interface net.sf.beep4j.CloseChannelRequest
 
add_escapes(String) - Method in exception net.sf.beep4j.internal.message.contenttype.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addAfter(Class<? extends ChannelFilter>, ChannelFilter) - Method in interface net.sf.beep4j.ChannelFilterChain
 
addBefore(Class<? extends ChannelFilter>, ChannelFilter) - Method in interface net.sf.beep4j.ChannelFilterChain
 
addEscapes(String) - Static method in error net.sf.beep4j.internal.message.contenttype.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addFirst(ChannelFilter) - Method in interface net.sf.beep4j.ChannelFilterChain
 
addHeader(String, String) - Method in class net.sf.beep4j.internal.message.DefaultMessageBuilder
 
addHeader(String, String) - Method in class net.sf.beep4j.internal.message.MessageHeader
 
addHeader(String, String) - Method in interface net.sf.beep4j.MessageBuilder
Adds an arbitrary header field.
addLast(ChannelFilter) - Method in interface net.sf.beep4j.ChannelFilterChain
 
addSessionListener(SessionListener) - Method in class net.sf.beep4j.internal.SessionImpl
 
adjustBeginLineColumn(int, int) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
ANY - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
appendTo(StringBuilder) - Method in class net.sf.beep4j.ProfileInfo
Append the ProfileInfo content to the StringBuilder.
asByteBuffer() - Method in class net.sf.beep4j.internal.DataHeader.ANSHeader
 
asByteBuffer() - Method in class net.sf.beep4j.internal.DataHeader
Converts the header into a ByteBuffer.
asByteBuffer() - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
asByteBuffer() - Method in class net.sf.beep4j.internal.message.MessageHeader
 
asByteBuffer() - Method in interface net.sf.beep4j.Message
Writes the complete message (headers and content) into a ByteBuffer, which can then be used to send the message over the network.
Assert - Class in net.sf.beep4j.internal.util
 
ATOKEN - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
available() - Method in class net.sf.beep4j.internal.util.ByteBufferInputStream
 

B

backup(int) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
BASE64_TRANSFER_ENCODING - Static variable in interface net.sf.beep4j.Message
Value for base64 transfer encoding.
base64Encode(byte[]) - Static method in class net.sf.beep4j.internal.util.ByteUtil
 
Base64Encoder - Class in net.sf.beep4j.internal.util
Encodes binary data to plain text as Base64.
Base64Encoder() - Constructor for class net.sf.beep4j.internal.util.Base64Encoder
 
BEEPError - Class in net.sf.beep4j.internal.profile
Object representation of a BEEP error element.
BEEPError(int, String) - Constructor for class net.sf.beep4j.internal.profile.BEEPError
Creates a new BEEPError object with the given code and diagnostic message.
BeepException - Exception in net.sf.beep4j
Exception base class for all exceptions thrown by the BEEP framework
BeepException() - Constructor for exception net.sf.beep4j.BeepException
 
BeepException(String, Throwable) - Constructor for exception net.sf.beep4j.BeepException
 
BeepException(String) - Constructor for exception net.sf.beep4j.BeepException
 
BeepException(Throwable) - Constructor for exception net.sf.beep4j.BeepException
 
beginColumn - Variable in class net.sf.beep4j.internal.message.contenttype.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class net.sf.beep4j.internal.message.contenttype.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
BINARY_TRANSFER_ENCODING - Static variable in interface net.sf.beep4j.Message
Value for binary transfer encoding.
bind(SocketAddress, SessionHandlerFactory) - Method in interface net.sf.beep4j.Listener
Binds the given SocketAddress.
bind(SocketAddress, SessionHandlerFactory) - Method in class net.sf.beep4j.transport.mina.MinaListener
 
bufcolumn - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
buffer - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
bufline - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
bufpos - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
buildFilterChain(ChannelFilterChain) - Method in interface net.sf.beep4j.ChannelFilterChainBuilder
 
ByteBufferInputStream - Class in net.sf.beep4j.internal.util
InputStream implementation that reads from a ByteBuffer.
ByteBufferInputStream(ByteBuffer) - Constructor for class net.sf.beep4j.internal.util.ByteBufferInputStream
Creates a new ByteBufferInputStream that reads from the given ByteBuffer.
ByteUtil - Class in net.sf.beep4j.internal.util
Utility class for parsing stuff.

C

cancel() - Method in class net.sf.beep4j.internal.DefaultStartSessionRequest
 
cancel(int, String) - Method in interface net.sf.beep4j.StartChannelRequest
Cancels the request to start a new channel.
cancel() - Method in interface net.sf.beep4j.StartSessionRequest
Cancels the Session by sending an error element in a negative reply.
Channel - Interface in net.sf.beep4j
Represents the outgoing view of a BEEP channel.
channel - Variable in class net.sf.beep4j.internal.DataHeader
The channel number of the frame.
channelClosed() - Method in interface net.sf.beep4j.ChannelHandler
Invoked by the framework when the other peer decided to close this channel.
channelClosed() - Method in class net.sf.beep4j.ext.ChannelHandlerAdapter
Notifies this handler that the channel has been closed.
channelClosed(int) - Method in class net.sf.beep4j.internal.DelegatingFrameHandler
 
channelClosed() - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
channelClosed(int) - Method in interface net.sf.beep4j.internal.SessionListener
 
channelClosed(int) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
channelCloseRequested(CloseChannelRequest) - Method in interface net.sf.beep4j.ChannelHandler
Invoked by the framework when the other peer requested to close the channel.
channelCloseRequested(CloseChannelRequest) - Method in class net.sf.beep4j.ext.ChannelHandlerAdapter
Notifies this handler that the remote peer requested to close the channel associated with this handler.
channelCloseRequested(CloseChannelRequest) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
channelCloseRequested(int, CloseChannelRequest) - Method in class net.sf.beep4j.internal.SessionImpl
 
channelCloseRequested(int, CloseChannelRequest) - Method in interface net.sf.beep4j.internal.SessionManager
Requests to close the channel identified by the given channel number.
ChannelController - Interface in net.sf.beep4j.internal.tcp
Controller object that knows about the channel's send and receive buffers.
ChannelControllerFactory - Interface in net.sf.beep4j.internal.tcp
Factory to create ChannelController objects.
channelCreated(ProfileInfo) - Method in interface net.sf.beep4j.internal.profile.StartChannelCallback
 
channelFailed(int, String) - Method in interface net.sf.beep4j.internal.profile.StartChannelCallback
 
ChannelFilter - Interface in net.sf.beep4j
A ChannelFilter is meant to be used to implement cross-cutting concerns, such as logging, message transformations, and security.
ChannelFilter.NextFilter - Interface in net.sf.beep4j
Interface of the next filter in the chain.
ChannelFilterChain - Interface in net.sf.beep4j
 
ChannelFilterChainBuilder - Interface in net.sf.beep4j
 
ChannelHandler - Interface in net.sf.beep4j
Represents the incoming view of a channel.
ChannelHandlerAdapter - Class in net.sf.beep4j.ext
Base implementation for ChannelHandler implementors.
ChannelHandlerAdapter() - Constructor for class net.sf.beep4j.ext.ChannelHandlerAdapter
 
ChannelHandlerFactory - Interface in net.sf.beep4j
Factory to create ChannelHandler objects.
ChannelManagementMessageBuilder - Interface in net.sf.beep4j.internal.profile
 
ChannelManagementMessageParser - Interface in net.sf.beep4j.internal.profile
 
ChannelManagementProfile - Interface in net.sf.beep4j.internal.profile
Interface of the channel management profile, which is used on channel 0 of every BEEP session.
ChannelManagementProfileImpl - Class in net.sf.beep4j.internal.profile
Implementation of ChannelManagementProfile interface.
ChannelManagementProfileImpl(boolean) - Constructor for class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
channelOpened(Channel) - Method in interface net.sf.beep4j.ChannelHandler
Invoked by the framework when the channel has been successfully started.
channelOpened(Channel) - Method in class net.sf.beep4j.ext.ChannelHandlerAdapter
Notifies this handler that the channel has been successfully opened.
channelOpened(Channel) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
channelStarted(int) - Method in class net.sf.beep4j.internal.DelegatingFrameHandler
 
channelStarted(int) - Method in interface net.sf.beep4j.internal.SessionListener
 
channelStarted(int) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
channelStartFailed(int, String) - Method in interface net.sf.beep4j.ChannelHandler
Invoked by the framework when the channel could not be started.
channelStartFailed(int, String) - Method in class net.sf.beep4j.ext.ChannelHandlerAdapter
This method ignores this event.
channelStartFailed(int, String) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
This method is only called on channels created through the startChannel methods of the Session.
channelStartRequested(StartChannelRequest) - Method in class net.sf.beep4j.ext.SessionHandlerAdapter
Notifies the handler that the remote peer wants to open a channel.
channelStartRequested(int, ProfileInfo[]) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
channelStartRequested(int, ProfileInfo[]) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
channelStartRequested(int, ProfileInfo[]) - Method in class net.sf.beep4j.internal.SessionImpl
 
channelStartRequested(int, ProfileInfo[]) - Method in interface net.sf.beep4j.internal.SessionImpl.SessionState
 
channelStartRequested(int, ProfileInfo[]) - Method in class net.sf.beep4j.internal.SessionImpl.WaitForResponseState
 
channelStartRequested(int, ProfileInfo[]) - Method in interface net.sf.beep4j.internal.SessionManager
Requests to start a new channel or cancels the request.
channelStartRequested(StartChannelRequest) - Method in interface net.sf.beep4j.SessionHandler
This method is invoked when the other peer wants to start a new channel.
characters(String) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.CloseElementHandler
 
characters(char[], int, int) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ElementHandlerContentHandler
 
characters(String) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ErrorElementHandler
 
characters(String) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.GreetingElementHandler
 
characters(String) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.OkElementHandler
 
characters(String) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ProfileElementHandler
 
characters(String) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.SimpleProfileElementHandler
 
characters(String) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.StartElementHandler
 
CharSequenceReader - Class in net.sf.beep4j.internal.util
Reader implementation that reads from a CharSequence.
CharSequenceReader(CharSequence) - Constructor for class net.sf.beep4j.internal.util.CharSequenceReader
 
checkFrame(long, int) - Method in interface net.sf.beep4j.internal.tcp.ChannelController
Validation of the sequence number according to the BEEP specification section 2.2.1.1.
checkFrame(long, int) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 
checkFrame(int, long, int) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
checkFrame(int, long, int) - Method in interface net.sf.beep4j.internal.TransportMapping
Checks that an incoming frame is valid.
close(CloseChannelCallback) - Method in interface net.sf.beep4j.Channel
Closes the channel.
close() - Method in class net.sf.beep4j.internal.SessionImpl
 
close() - Method in class net.sf.beep4j.internal.util.ByteBufferInputStream
 
close() - Method in class net.sf.beep4j.internal.util.CharSequenceReader
 
close() - Method in interface net.sf.beep4j.Session
Closes the session.
closeAccepted() - Method in interface net.sf.beep4j.CloseChannelCallback
Invoked by the framework if the channel close request has been accepted.
closeAccepted() - Method in interface net.sf.beep4j.internal.CloseCallback
 
closeAccepted() - Method in class net.sf.beep4j.internal.VerifyingCloseChannelCallback
 
CloseCallback - Interface in net.sf.beep4j.internal
 
closeChannel(int, CloseChannelCallback) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementProfile
Send a close channel message.
closeChannel(int, CloseChannelCallback) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
CloseChannelCallback - Interface in net.sf.beep4j
Callback interface for channel close operation.
CloseChannelRequest - Interface in net.sf.beep4j
Represents a request to close a channel.
closeDeclined(int, String) - Method in interface net.sf.beep4j.CloseChannelCallback
Invoked by the framework if the channel close request has been declined.
closeDeclined(int, String) - Method in interface net.sf.beep4j.internal.CloseCallback
 
closeDeclined(int, String) - Method in class net.sf.beep4j.internal.VerifyingCloseChannelCallback
 
closeSession(CloseCallback) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementProfile
Closes the session.
closeSession(CloseCallback) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
closeSession() - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
closeSession() - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
closeSession() - Method in interface net.sf.beep4j.internal.SessionImpl.SessionState
 
closeTransport() - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
closeTransport() - Method in interface net.sf.beep4j.internal.TransportMapping
Instructs the mapping to close the underlying Transport object.
closeTransport() - Method in class net.sf.beep4j.transport.mina.MinaTransport
 
closeTransport() - Method in interface net.sf.beep4j.transport.Transport
Instructs the transport layer to close the connection.
column - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
COMMENT - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
connect(SocketAddress, SessionHandler) - Method in interface net.sf.beep4j.Initiator
Tries to establish a session to the peer specified by the given address.
connect(SocketAddress, SessionHandler) - Method in class net.sf.beep4j.transport.mina.MinaInitiator
 
connectionClosed() - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
connectionClosed() - Method in class net.sf.beep4j.internal.SessionImpl
 
connectionClosed() - Method in class net.sf.beep4j.internal.SessionImpl.DeadState
 
connectionClosed() - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
connectionClosed() - Method in interface net.sf.beep4j.internal.SessionImpl.SessionState
 
connectionClosed() - Method in class net.sf.beep4j.transport.LoggingTransportContext
 
connectionClosed() - Method in interface net.sf.beep4j.transport.TransportContext
Invoked by the Transport when the underlying physical connection has been closed.
connectionEstablished(StartSessionRequest) - Method in class net.sf.beep4j.ext.SessionHandlerAdapter
Does not register a profile.
connectionEstablished(SocketAddress, SessionHandler, Reply) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementProfile
Invoked by the session when the connection has been established.
connectionEstablished(SocketAddress, SessionHandler, Reply) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
connectionEstablished(SocketAddress) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
connectionEstablished(SocketAddress) - Method in class net.sf.beep4j.internal.SessionImpl
 
connectionEstablished(SocketAddress) - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
connectionEstablished(SocketAddress) - Method in interface net.sf.beep4j.internal.SessionImpl.SessionState
 
connectionEstablished(StartSessionRequest) - Method in interface net.sf.beep4j.SessionHandler
The connectionEstablished method is called by the framework when the connection was established to the other peer.
connectionEstablished(SocketAddress) - Method in class net.sf.beep4j.transport.LoggingTransportContext
 
connectionEstablished(SocketAddress) - Method in interface net.sf.beep4j.transport.TransportContext
Notifies the context that the physical connection has been established.
Constants - Class in net.sf.beep4j.internal
 
Constants() - Constructor for class net.sf.beep4j.internal.Constants
 
CONTENT_TRANSFER_ENCODING - Static variable in interface net.sf.beep4j.Message
Canonical name of the Content-Transfer-Encoding header.
CONTENT_TYPE - Static variable in interface net.sf.beep4j.Message
Canonical name of the Content-Type header.
ContentTypeParser - Class in net.sf.beep4j.internal.message.contenttype
 
ContentTypeParser(InputStream) - Constructor for class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
ContentTypeParser(Reader) - Constructor for class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
ContentTypeParser(ContentTypeParserTokenManager) - Constructor for class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
ContentTypeParserConstants - Interface in net.sf.beep4j.internal.message.contenttype
 
ContentTypeParserTokenManager - Class in net.sf.beep4j.internal.message.contenttype
 
ContentTypeParserTokenManager(SimpleCharStream) - Constructor for class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
ContentTypeParserTokenManager(SimpleCharStream, int) - Constructor for class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
createCancelledResponse(int, String) - Static method in class net.sf.beep4j.internal.StartChannelResponse
 
createChannel(InternalSession, String, int) - Method in class net.sf.beep4j.internal.SessionImpl
 
createChannelController(int, Transport) - Method in interface net.sf.beep4j.internal.tcp.ChannelControllerFactory
Creates a new ChannelController for the channel identified by the channelNumber.
createChannelController(int, Transport) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
createChannelHandler(ProfileInfo) - Method in interface net.sf.beep4j.ChannelHandlerFactory
Requests the factory to create a ChannelHandler for the specified ProfileInfo.
createChannelHandler(SessionManager) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementProfile
Invoked by the framework to initialize the channel and to get the ChannelHandler for the profile.
createChannelHandler(SessionManager) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
createChannelManagementMessageBuilder() - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
createChannelManagementMessageParser() - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
createChannelManagementProfile(boolean) - Method in class net.sf.beep4j.internal.SessionImpl
 
createClose(MessageBuilder, int, int) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageBuilder
 
createClose(MessageBuilder, int, int) - Method in class net.sf.beep4j.internal.profile.SaxMessageBuilder
 
createError(MessageBuilder, int, String) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageBuilder
 
createError(int, String) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
createError(MessageBuilder, int, String) - Method in class net.sf.beep4j.internal.profile.SaxMessageBuilder
 
createFrameHandler() - Method in interface net.sf.beep4j.internal.FrameHandlerFactory
 
createFrameHandler() - Method in class net.sf.beep4j.internal.SessionImpl
 
createGreeting(MessageBuilder, String[]) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageBuilder
 
createGreeting(String[]) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
createGreeting(MessageBuilder, String[]) - Method in class net.sf.beep4j.internal.profile.SaxMessageBuilder
 
createMessage(List<Frame>) - Method in class net.sf.beep4j.internal.MessageAssembler
 
createMessageBuilder() - Method in interface net.sf.beep4j.Channel
Creates a new MessageBuilder object that can be used to create one Message.
createMessageBuilder() - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
createMessageBuilder() - Method in class net.sf.beep4j.internal.SessionImpl.DefaultReply
 
createMessageBuilder() - Method in interface net.sf.beep4j.Reply
Creates a new MessageBuilder object that can be used to create one new message.
createOk(MessageBuilder) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageBuilder
 
createOk(MessageBuilder) - Method in class net.sf.beep4j.internal.profile.SaxMessageBuilder
 
createProfile(MessageBuilder, ProfileInfo) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageBuilder
 
createProfile(MessageBuilder, ProfileInfo) - Method in class net.sf.beep4j.internal.profile.SaxMessageBuilder
 
createReply(TransportMapping, int, int) - Method in class net.sf.beep4j.internal.SessionImpl
 
createSessionHandler() - Method in interface net.sf.beep4j.SessionHandlerFactory
Creates a new SessionHandler object.
createStart(MessageBuilder, int, ProfileInfo[]) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageBuilder
 
createStart(MessageBuilder, int, ProfileInfo[]) - Method in class net.sf.beep4j.internal.profile.SaxMessageBuilder
 
createStreamParser(FrameHandler, TransportMapping) - Method in class net.sf.beep4j.internal.SessionImpl
 
createSuccessResponse(ProfileInfo, ChannelHandler) - Static method in class net.sf.beep4j.internal.StartChannelResponse
 
curChar - Variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
currentToken - Variable in exception net.sf.beep4j.internal.message.contenttype.ParseException
This is the last token that has been consumed successfully.

D

DataHeader - Class in net.sf.beep4j.internal
Represents a data header as specified by the BEEP specification.
DataHeader(MessageType, int, int, boolean, long, int) - Constructor for class net.sf.beep4j.internal.DataHeader
Creates a new DataHeader.
DataHeader.ANSHeader - Class in net.sf.beep4j.internal
Header for messages of type ANS.
DataHeader.ANSHeader(int, int, boolean, long, int, int) - Constructor for class net.sf.beep4j.internal.DataHeader.ANSHeader
 
debugStream - Variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
decode(String) - Method in class net.sf.beep4j.internal.util.Base64Encoder
 
DEFAULT - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
DefaultChannelController - Class in net.sf.beep4j.internal.tcp
 
DefaultChannelController(Transport, int, int) - Constructor for class net.sf.beep4j.internal.tcp.DefaultChannelController
 
DefaultMessage - Class in net.sf.beep4j.internal.message
 
DefaultMessage(MessageHeader, ByteBuffer) - Constructor for class net.sf.beep4j.internal.message.DefaultMessage
 
DefaultMessageBuilder - Class in net.sf.beep4j.internal.message
 
DefaultMessageBuilder() - Constructor for class net.sf.beep4j.internal.message.DefaultMessageBuilder
 
DefaultMessageParser - Class in net.sf.beep4j.internal.message
 
DefaultMessageParser() - Constructor for class net.sf.beep4j.internal.message.DefaultMessageParser
 
DefaultStartSessionRequest - Class in net.sf.beep4j.internal
Default implementation of the StartSessionRequest interface.
DefaultStartSessionRequest(boolean) - Constructor for class net.sf.beep4j.internal.DefaultStartSessionRequest
 
DefaultStreamParser - Class in net.sf.beep4j.internal
 
DefaultStreamParser(FrameHandler, TransportMapping) - Constructor for class net.sf.beep4j.internal.DefaultStreamParser
 
DelegatingFrameHandler - Class in net.sf.beep4j.internal
FrameHandler implementation that delegates to a unique FrameHandler per channel.
DelegatingFrameHandler(FrameHandlerFactory) - Constructor for class net.sf.beep4j.internal.DelegatingFrameHandler
 
DIGITS - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
disable_tracing() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
Done() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
dump(ByteBuffer) - Static method in class net.sf.beep4j.internal.util.HexDump
 
dump(ByteBuffer, OutputStream) - Static method in class net.sf.beep4j.internal.util.HexDump
 
dump(ByteBuffer, Writer) - Static method in class net.sf.beep4j.internal.util.HexDump
 

E

E_CLOSE - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
E_ERROR - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
E_GREETING - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
E_OK - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
E_PROFILE - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
E_START - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
ElementHandlerContext - Interface in net.sf.beep4j.internal.profile
 
enable_tracing() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
encode(byte[]) - Method in class net.sf.beep4j.internal.util.Base64Encoder
 
ENCODING_BASE64 - Static variable in interface net.sf.beep4j.internal.profile.XMLConstants
 
endColumn - Variable in class net.sf.beep4j.internal.message.contenttype.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endElement() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.CloseElementHandler
 
endElement(String, String, String) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ElementHandlerContentHandler
 
endElement() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ErrorElementHandler
 
endElement() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.GreetingElementHandler
 
endElement() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.OkElementHandler
 
endElement() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ProfileElementHandler
 
endElement() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.SimpleProfileElementHandler
 
endElement() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.StartElementHandler
 
endLine - Variable in class net.sf.beep4j.internal.message.contenttype.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
EOF - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
eol - Variable in exception net.sf.beep4j.internal.message.contenttype.ParseException
The end of line string for this machine.
equals(Object) - Method in class net.sf.beep4j.internal.DataHeader.ANSHeader
 
equals(Object) - Method in class net.sf.beep4j.internal.DataHeader
 
equals(Object) - Method in class net.sf.beep4j.internal.Frame
 
equals(Object) - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
exceptionCaught(Throwable) - Method in class net.sf.beep4j.internal.SessionImpl
 
exceptionCaught(Throwable) - Method in class net.sf.beep4j.transport.LoggingTransportContext
 
exceptionCaught(IoSession, Throwable) - Method in class net.sf.beep4j.transport.mina.MinaListener.BEEPIoHandler
 
exceptionCaught(IoSession, Throwable) - Method in class net.sf.beep4j.transport.mina.MinaTransport
 
exceptionCaught(Throwable) - Method in interface net.sf.beep4j.transport.TransportContext
Invoked by the Transport to notify the context about an exception that has been caught while sending or processing a message.
ExpandBuff(boolean) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
expectedTokenSequences - Variable in exception net.sf.beep4j.internal.message.contenttype.ParseException
Each entry in this array is an array of integers.

F

FillBuff() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
filterChainBuilder - Variable in class net.sf.beep4j.transport.mina.AbstractMinaPeer
 
filterChannelClosed(ChannelFilter.NextFilter) - Method in interface net.sf.beep4j.ChannelFilter
Filters ChannelHandler.channelClosed().
filterChannelClosed() - Method in interface net.sf.beep4j.ChannelFilter.NextFilter
 
filterChannelCloseReqested(CloseChannelRequest) - Method in interface net.sf.beep4j.ChannelFilter.NextFilter
 
filterChannelCloseRequested(ChannelFilter.NextFilter, CloseChannelRequest) - Method in interface net.sf.beep4j.ChannelFilter
Filters ChannelHandler.channelCloseRequested(CloseChannelRequest).
filterChannelOpened(ChannelFilter.NextFilter, Channel) - Method in interface net.sf.beep4j.ChannelFilter
Filters ChannelHandler.channelOpened(Channel).
filterChannelOpened(Channel) - Method in interface net.sf.beep4j.ChannelFilter.NextFilter
 
filterClose(ChannelFilter.NextFilter) - Method in interface net.sf.beep4j.ChannelFilter
Filters Channel.close(CloseChannelCallback).
filterClose(CloseChannelCallback) - Method in interface net.sf.beep4j.ChannelFilter.NextFilter
 
filterMessageReceived(ChannelFilter.NextFilter, Message, Reply) - Method in interface net.sf.beep4j.ChannelFilter
Filters ChannelHandler.messageReceived(Message, Reply).
filterMessageReceived(Message, Reply) - Method in interface net.sf.beep4j.ChannelFilter.NextFilter
 
filterSendMessage(ChannelFilter.NextFilter, Object, ReplyHandler) - Method in interface net.sf.beep4j.ChannelFilter
Filters Channel.sendMessage(Message, ReplyHandler).
filterSendMessage(Message, ReplyHandler) - Method in interface net.sf.beep4j.ChannelFilter.NextFilter
 
fireChannelClosed(int) - Method in class net.sf.beep4j.internal.SessionImpl
 
fireChannelStarted(int) - Method in class net.sf.beep4j.internal.SessionImpl
 
fireFilterClose(CloseChannelCallback) - Method in interface net.sf.beep4j.ChannelFilterChain
 
fireFilterSendMessage(Message, ReplyHandler) - Method in interface net.sf.beep4j.ChannelFilterChain
 
forward(Frame) - Method in class net.sf.beep4j.internal.DefaultStreamParser
 
Frame - Class in net.sf.beep4j.internal
 
Frame(DataHeader, ByteBuffer) - Constructor for class net.sf.beep4j.internal.Frame
 
FrameHandler - Interface in net.sf.beep4j.internal
Handler interface for frames parsed by the StreamParser.
FrameHandlerFactory - Interface in net.sf.beep4j.internal
Factory for FrameHandler objects.
frameReceived(long, int) - Method in interface net.sf.beep4j.internal.tcp.ChannelController
Notifies the controller that the frame with sequence number seqno and size size has been completely received.
frameReceived(long, int) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 
frameReceived(int, long, int) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
frameReceived(int, long, int) - Method in interface net.sf.beep4j.internal.TransportMapping
Invoked by the framework to notify the mapping that the parsing of the message has completed.

G

generateParseException() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
getAcknowledgeNumber() - Method in class net.sf.beep4j.internal.tcp.SEQHeader
 
getAnswerNumber() - Method in class net.sf.beep4j.internal.DataHeader.ANSHeader
 
getBeginColumn() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
getBeginLine() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
getBinaryContent() - Method in class net.sf.beep4j.ProfileInfo
Tries to retrieve the binary content.
getChannel() - Method in class net.sf.beep4j.ext.ChannelHandlerAdapter
Gets the channel object set by the ChannelHandlerAdapter.channelOpened(Channel) method.
getChannel() - Method in class net.sf.beep4j.internal.DataHeader
 
getChannel() - Method in class net.sf.beep4j.internal.tcp.SEQHeader
 
getChannelHandler() - Method in class net.sf.beep4j.internal.StartChannelResponse
 
getChannelNumber() - Method in class net.sf.beep4j.internal.Frame
 
getCharset() - Method in class net.sf.beep4j.internal.message.MessageHeader
 
getCharsetName() - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getCode() - Method in class net.sf.beep4j.internal.profile.BEEPError
Gets the three digit status code.
getCode() - Method in class net.sf.beep4j.internal.StartChannelResponse
 
getColumn() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
Deprecated.  
getContent() - Method in class net.sf.beep4j.ProfileInfo
Tries to retrieve a the textual content.
getContentBuffer() - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getContentBuffer(int) - Method in class net.sf.beep4j.internal.message.DefaultMessageBuilder
 
getContentBuffer() - Method in interface net.sf.beep4j.Message
Gets the content as a ByteBuffer.
getContentBuffer(int) - Method in interface net.sf.beep4j.MessageBuilder
Allocates a ByteBuffer into which the message content can be written.
getContentType() - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getContentType() - Method in class net.sf.beep4j.internal.message.MessageHeader
 
getContentType() - Method in interface net.sf.beep4j.Message
Gets the content type of the message.
getEndColumn() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
getEndLine() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
getFeatures() - Method in class net.sf.beep4j.internal.profile.Greeting
Gets an array of feature tokens.
getHeader() - Method in class net.sf.beep4j.internal.Frame
 
getHeader(String) - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getHeader(String) - Method in class net.sf.beep4j.internal.message.MessageHeader
 
getHeader(String) - Method in interface net.sf.beep4j.Message
Gets the value of the header with the given name.
getHeaderNames() - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getHeaderNames() - Method in class net.sf.beep4j.internal.message.MessageHeader
 
getHeaderNames() - Method in interface net.sf.beep4j.Message
Gets the list of all defined header names.
GetImage() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
getInputStream() - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getInputStream() - Method in interface net.sf.beep4j.Message
Gets an InputStream to read the content of the message.
getLine() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
Deprecated.  
getLocalize() - Method in class net.sf.beep4j.internal.profile.Greeting
Gets an array of localize tokens.
getMessage() - Method in class net.sf.beep4j.internal.DefaultStartSessionRequest
 
getMessage() - Method in exception net.sf.beep4j.internal.message.contenttype.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error net.sf.beep4j.internal.message.contenttype.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in class net.sf.beep4j.internal.message.DefaultMessageBuilder
 
getMessage() - Method in class net.sf.beep4j.internal.profile.BEEPError
Gets the diagnostic message.
getMessage() - Method in class net.sf.beep4j.internal.StartChannelResponse
 
getMessage() - Method in interface net.sf.beep4j.MessageBuilder
Retrieves the resulting message object.
getMessageNumber() - Method in class net.sf.beep4j.internal.DataHeader
 
getMessageNumber() - Method in class net.sf.beep4j.internal.Frame
 
getName() - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
getName() - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
getName() - Method in class net.sf.beep4j.internal.SessionImpl.DeadState
 
getName() - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
getName() - Method in class net.sf.beep4j.internal.SessionImpl.WaitForResponseState
 
getNextToken() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
getNextToken() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
getOutputStream() - Method in class net.sf.beep4j.internal.message.DefaultMessageBuilder
 
getOutputStream() - Method in interface net.sf.beep4j.MessageBuilder
Gets the underlying OutputStream that can be used to write binary messages.
getParameters() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
getPayload() - Method in class net.sf.beep4j.internal.Frame
 
getPayloadSize() - Method in class net.sf.beep4j.internal.DataHeader
 
getPayloadSize() - Method in class net.sf.beep4j.internal.tcp.SEQHeader
 
getProfile() - Method in interface net.sf.beep4j.Channel
Gets the URI of the profile that is used by this channel.
getProfile() - Method in class net.sf.beep4j.internal.StartChannelResponse
 
getProfile(String) - Method in interface net.sf.beep4j.StartChannelRequest
Gets the ProfileInfo for the given profile uri.
getProfiles() - Method in class net.sf.beep4j.internal.DefaultStartSessionRequest
 
getProfiles() - Method in class net.sf.beep4j.internal.profile.Greeting
Gets an array of profile URIs.
getProfiles() - Method in class net.sf.beep4j.internal.SessionImpl
 
getProfiles() - Method in interface net.sf.beep4j.Session
Gets the list of profiles supported by the remote peer.
getProfiles() - Method in interface net.sf.beep4j.StartChannelRequest
Gets the list of acceptable profiles sent as part of the start channel request.
getReader() - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getReader(String) - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getReader() - Method in interface net.sf.beep4j.Message
Gets a Reader to read the content of the message.
getReader(String) - Method in interface net.sf.beep4j.Message
Gets a Reader to read the content of the message.
getReplyCode() - Method in class net.sf.beep4j.internal.DefaultStartSessionRequest
 
getSequenceNumber() - Method in class net.sf.beep4j.internal.DataHeader
 
getSequenceNumber() - Method in class net.sf.beep4j.internal.Frame
 
getSession() - Method in interface net.sf.beep4j.Channel
Gets the session on which this channel runs.
getSession() - Method in class net.sf.beep4j.ext.SessionHandlerAdapter
Get the associated Session object.
getSize() - Method in class net.sf.beep4j.internal.Frame
 
getSubType() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
GetSuffix(int) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
getToken(int) - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
getTokens() - Method in class net.sf.beep4j.internal.tcp.SEQHeader
 
getTransferEncoding() - Method in class net.sf.beep4j.internal.message.DefaultMessage
 
getTransferEncoding() - Method in class net.sf.beep4j.internal.message.MessageHeader
 
getType() - Method in class net.sf.beep4j.internal.DataHeader
 
getType() - Method in class net.sf.beep4j.internal.Frame
 
getType() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
getType() - Method in class net.sf.beep4j.internal.tcp.SEQHeader
 
getUri() - Method in class net.sf.beep4j.ProfileInfo
The profile URI, which should uniquely identify the profile.
getWindowSize() - Method in class net.sf.beep4j.internal.tcp.SEQHeader
 
getWriter() - Method in class net.sf.beep4j.internal.message.DefaultMessageBuilder
 
getWriter() - Method in interface net.sf.beep4j.MessageBuilder
Gets the underlying Writer that can be used to write textual messages.
Greeting - Class in net.sf.beep4j.internal.profile
Object representation of a BEEP greeting element.
Greeting(String[], String[], String[]) - Constructor for class net.sf.beep4j.internal.profile.Greeting
Creates a new Greeting object representation.

H

handleFrame(Frame) - Method in class net.sf.beep4j.internal.DelegatingFrameHandler
 
handleFrame(Frame) - Method in interface net.sf.beep4j.internal.FrameHandler
Handle a single frame.
handleFrame(Frame) - Method in class net.sf.beep4j.internal.MessageAssembler
 
handleHeader(String[]) - Method in class net.sf.beep4j.internal.DefaultStreamParser
 
handleHeader(String[]) - Method in interface net.sf.beep4j.internal.ParseStateContext
Callback method invoked when a header has been parsed.
handlePayload(ByteBuffer) - Method in class net.sf.beep4j.internal.DefaultStreamParser
 
handlePayload(ByteBuffer) - Method in interface net.sf.beep4j.internal.ParseStateContext
Callback method invoked when the payload has been received.
handleTrailer() - Method in class net.sf.beep4j.internal.DefaultStreamParser
 
handleTrailer() - Method in interface net.sf.beep4j.internal.ParseStateContext
Callback method invoked when the trailer has been parsed.
hasContent() - Method in class net.sf.beep4j.ProfileInfo
Determines whether this ProfileInfo has content.
hashCode() - Method in class net.sf.beep4j.internal.DataHeader.ANSHeader
 
hashCode() - Method in class net.sf.beep4j.internal.DataHeader
 
hasProfile(String) - Method in interface net.sf.beep4j.StartChannelRequest
Determines whether there is a profile element with the given profile uri.
HexDump - Class in net.sf.beep4j.internal.util
 
HexDump() - Constructor for class net.sf.beep4j.internal.util.HexDump
 

I

image - Variable in class net.sf.beep4j.internal.message.contenttype.Token
The string image of the token.
inBuf - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
INCOMMENT - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
initChannel(ChannelHandler) - Method in interface net.sf.beep4j.internal.InternalChannel
Initializes the channel and passes the channel handler in.
initChannelManagementProfile() - Method in class net.sf.beep4j.internal.SessionImpl
 
Initiator - Interface in net.sf.beep4j
An interface whose implementations allow to initiate BEEP sessions.
input_stream - Variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
inputStream - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
INQUOTEDSTRING - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
IntegerSequence - Class in net.sf.beep4j.internal.util
 
IntegerSequence() - Constructor for class net.sf.beep4j.internal.util.IntegerSequence
 
IntegerSequence(int) - Constructor for class net.sf.beep4j.internal.util.IntegerSequence
 
IntegerSequence(int, int) - Constructor for class net.sf.beep4j.internal.util.IntegerSequence
 
intermediate - Variable in class net.sf.beep4j.internal.DataHeader
Whether this is an intermediate frame.
InternalChannel - Interface in net.sf.beep4j.internal
Interface implemented by channels that contains methods only visible to the internal implementation.
InternalException - Exception in net.sf.beep4j.internal
 
InternalException(String, Throwable) - Constructor for exception net.sf.beep4j.internal.InternalException
 
InternalException(String) - Constructor for exception net.sf.beep4j.internal.InternalException
 
InternalException(Throwable) - Constructor for exception net.sf.beep4j.internal.InternalException
 
InternalSession - Interface in net.sf.beep4j.internal
 
isAlive() - Method in interface net.sf.beep4j.internal.InternalChannel
Tests whether this channel is in the Alive state.
isBase64Encoded() - Method in class net.sf.beep4j.ProfileInfo
Determines whether the body was (or should be) base 64 encoded.
isCancellable() - Method in class net.sf.beep4j.internal.DefaultStartSessionRequest
 
isCancelled() - Method in class net.sf.beep4j.internal.DefaultStartSessionRequest
 
isCancelled() - Method in class net.sf.beep4j.internal.StartChannelResponse
 
isDead() - Method in interface net.sf.beep4j.internal.InternalChannel
Tests whether this channel is in the Dead state.
isIntermediate() - Method in class net.sf.beep4j.internal.DataHeader
 
isIntermediate() - Method in class net.sf.beep4j.internal.Frame
 
isShuttingDown() - Method in interface net.sf.beep4j.internal.InternalChannel
Tests whether this channel is shutting down.

J

jj_nt - Variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
jjFillToken() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
jjnewLexState - Static variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
jjstrLiteralImages - Static variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 

K

kind - Variable in class net.sf.beep4j.internal.message.contenttype.Token
An integer that describes the kind of this token.

L

LexicalError(boolean, int, int, int, String, char) - Static method in error net.sf.beep4j.internal.message.contenttype.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
line - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
Listener - Interface in net.sf.beep4j
An interface whose implementations allow to listen for BEEP sessions.
lock() - Method in class net.sf.beep4j.internal.SessionImpl
 
LoggingTransportContext - Class in net.sf.beep4j.transport
Logging interceptor for methods of TransportContext.
LoggingTransportContext(TransportContext) - Constructor for class net.sf.beep4j.transport.LoggingTransportContext
 

M

mark(int) - Method in class net.sf.beep4j.internal.util.ByteBufferInputStream
 
markSupported() - Method in class net.sf.beep4j.internal.util.ByteBufferInputStream
 
maxNextCharInd - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
Message - Interface in net.sf.beep4j
Interface exposing all necessary methods a Message must have.
MessageAssembler - Class in net.sf.beep4j.internal
MessageAssembler assembles fragmented frames into a Message.
MessageAssembler(MessageHandler) - Constructor for class net.sf.beep4j.internal.MessageAssembler
 
MessageBuilder - Interface in net.sf.beep4j
A MessageBuilder allows to easily create Message objects.
MessageHandler - Interface in net.sf.beep4j.internal
Interface to be implemented by processors of reassembled messages.
MessageHeader - Class in net.sf.beep4j.internal.message
 
MessageHeader() - Constructor for class net.sf.beep4j.internal.message.MessageHeader
 
messageNumber - Variable in class net.sf.beep4j.internal.DataHeader
The message number of the frame.
MessageParser - Interface in net.sf.beep4j.internal.message
 
messageReceived(Message, Reply) - Method in interface net.sf.beep4j.ChannelHandler
Invoked by the framework when the other peer sent a message to this peer on this channel.
messageReceived(Message, Reply) - Method in class net.sf.beep4j.ext.ChannelHandlerAdapter
Notifies this handler that a message has been received.
messageReceived(Message, Reply) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
messageReceived(ByteBuffer) - Method in class net.sf.beep4j.internal.SessionImpl
 
messageReceived(ByteBuffer) - Method in class net.sf.beep4j.transport.LoggingTransportContext
 
messageReceived(IoSession, Object) - Method in class net.sf.beep4j.transport.mina.MinaListener.BEEPIoHandler
 
messageReceived(IoSession, Object) - Method in class net.sf.beep4j.transport.mina.MinaTransport
 
messageReceived(ByteBuffer) - Method in interface net.sf.beep4j.transport.TransportContext
Invoked by the Transport whenever new content has been received.
messageSent(IoSession, Object) - Method in class net.sf.beep4j.transport.mina.MinaTransport
 
MessageType - Enum in net.sf.beep4j.internal
 
MinaInitiator - Class in net.sf.beep4j.transport.mina
 
MinaInitiator(IoConnector) - Constructor for class net.sf.beep4j.transport.mina.MinaInitiator
 
MinaListener - Class in net.sf.beep4j.transport.mina
 
MinaListener(IoAcceptor) - Constructor for class net.sf.beep4j.transport.mina.MinaListener
 
MinaListener.BEEPIoHandler - Class in net.sf.beep4j.transport.mina
 
MinaListener.BEEPIoHandler(SessionHandlerFactory, ChannelFilterChainBuilder) - Constructor for class net.sf.beep4j.transport.mina.MinaListener.BEEPIoHandler
 
MinaTransport - Class in net.sf.beep4j.transport.mina
Transport implementation based on Apache MINA.
MinaTransport(boolean, SessionHandler, ChannelFilterChainBuilder) - Constructor for class net.sf.beep4j.transport.mina.MinaTransport
 
MINIMUM_FRAME_SIZE - Static variable in class net.sf.beep4j.internal.tcp.DefaultChannelController
 

N

NESTED_COMMENT - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
net.sf.beep4j - package net.sf.beep4j
 
net.sf.beep4j.ext - package net.sf.beep4j.ext
 
net.sf.beep4j.internal - package net.sf.beep4j.internal
 
net.sf.beep4j.internal.message - package net.sf.beep4j.internal.message
 
net.sf.beep4j.internal.message.contenttype - package net.sf.beep4j.internal.message.contenttype
 
net.sf.beep4j.internal.profile - package net.sf.beep4j.internal.profile
 
net.sf.beep4j.internal.tcp - package net.sf.beep4j.internal.tcp
 
net.sf.beep4j.internal.util - package net.sf.beep4j.internal.util
 
net.sf.beep4j.transport - package net.sf.beep4j.transport
 
net.sf.beep4j.transport.mina - package net.sf.beep4j.transport.mina
 
newToken(int) - Static method in class net.sf.beep4j.internal.message.contenttype.Token
Returns a new Token object, by default.
next - Variable in class net.sf.beep4j.internal.message.contenttype.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class net.sf.beep4j.internal.util.IntegerSequence
 
next() - Method in interface net.sf.beep4j.internal.util.Sequence
Returns the next value from this sequence.
notNull(String, Object) - Static method in class net.sf.beep4j.internal.util.Assert
Asserts that the given value is not null.
NullReplyHandler - Class in net.sf.beep4j
 
NullReplyHandler() - Constructor for class net.sf.beep4j.NullReplyHandler
 

P

parameter() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
parse() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
parse(ByteBuffer) - Method in class net.sf.beep4j.internal.message.DefaultMessageParser
 
parse(ByteBuffer) - Method in interface net.sf.beep4j.internal.message.MessageParser
 
parseAll() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
parseError(Message) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageParser
 
parseError(Message) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser
 
ParseException - Exception in net.sf.beep4j.internal.message.contenttype
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception net.sf.beep4j.internal.message.contenttype.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception net.sf.beep4j.internal.message.contenttype.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception net.sf.beep4j.internal.message.contenttype.ParseException
 
parseGreeting(Message) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageParser
 
parseGreeting(Message) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser
 
parseHeader(String[]) - Static method in class net.sf.beep4j.internal.DataHeader
Parses the passed in tokenized header line into a DataHeader.
parseLine() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
parseOk(Message) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageParser
 
parseOk(Message) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser
 
parseProfile(Message) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageParser
 
parseProfile(Message) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser
 
parseRequest(Message) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementMessageParser
 
parseRequest(Message) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser
 
parseStart(Reader) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser
 
ParseStateContext - Interface in net.sf.beep4j.internal
Context used by ParseState implementations to send notifications about important moments in the parse lifecycle.
parseUnsignedInt(String, String) - Static method in class net.sf.beep4j.internal.util.ByteUtil
Parses a String field that must be in the range 0..2147483647.
parseUnsignedLong(String, String) - Static method in class net.sf.beep4j.internal.util.ByteUtil
Parses a String field that must be in the range 0..4294967295.
payloadSize - Variable in class net.sf.beep4j.internal.DataHeader
The size of the frame's payload.
peekObject() - Method in interface net.sf.beep4j.internal.profile.ElementHandlerContext
 
peekObject() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ElementHandlerContentHandler
 
Peer - Interface in net.sf.beep4j
 
popObject() - Method in interface net.sf.beep4j.internal.profile.ElementHandlerContext
 
popObject() - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ElementHandlerContentHandler
 
prevCharIsCR - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
prevCharIsLF - Variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
process(ByteBuffer) - Method in class net.sf.beep4j.internal.DefaultStreamParser
 
process(ByteBuffer) - Method in interface net.sf.beep4j.internal.StreamParser
Processes the content of the given ByteBuffer.
processMappingFrame(String[]) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
processMappingFrame(String[]) - Method in interface net.sf.beep4j.internal.TransportMapping
Process a mapping frame.
ProfileInfo - Class in net.sf.beep4j
Represents a profile as seen inside a start channel request.
ProfileInfo(String) - Constructor for class net.sf.beep4j.ProfileInfo
 
ProfileInfo(String, byte[]) - Constructor for class net.sf.beep4j.ProfileInfo
 
ProfileInfo(String, String) - Constructor for class net.sf.beep4j.ProfileInfo
 
ProtocolException - Exception in net.sf.beep4j
 
ProtocolException(String, Throwable) - Constructor for exception net.sf.beep4j.ProtocolException
 
ProtocolException(String) - Constructor for exception net.sf.beep4j.ProtocolException
 
ProtocolException(Throwable) - Constructor for exception net.sf.beep4j.ProtocolException
 
pushObject(Object) - Method in interface net.sf.beep4j.internal.profile.ElementHandlerContext
 
pushObject(Object) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ElementHandlerContentHandler
 

Q

QUOTEDPAIR - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
QUOTEDSTRING - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 

R

read() - Method in class net.sf.beep4j.internal.util.ByteBufferInputStream
 
read(byte[]) - Method in class net.sf.beep4j.internal.util.ByteBufferInputStream
 
read(byte[], int, int) - Method in class net.sf.beep4j.internal.util.ByteBufferInputStream
 
read() - Method in class net.sf.beep4j.internal.util.CharSequenceReader
 
read(char[], int, int) - Method in class net.sf.beep4j.internal.util.CharSequenceReader
 
readChar() - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
receive(MessageType, int, int, Message) - Method in class net.sf.beep4j.internal.MessageAssembler
 
receive(int, int, int, Message) - Method in class net.sf.beep4j.internal.MessageAssembler
 
receiveANS(int, int, int, Message) - Method in interface net.sf.beep4j.internal.MessageHandler
Receive a ANS message.
receiveANS(int, int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
receiveANS(int, int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
receiveANS(int, int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
receiveANS(int, int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl
 
receivedANS(Message) - Method in class net.sf.beep4j.NullReplyHandler
 
receivedANS(Message) - Method in interface net.sf.beep4j.ReplyHandler
Invoked when an ANS response is received.
receivedERR(Message) - Method in class net.sf.beep4j.NullReplyHandler
 
receivedERR(Message) - Method in interface net.sf.beep4j.ReplyHandler
Invoked when an ERR response is received.
receivedError(Message) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementProfile
Invoked by the session when an error has been received during the session startup.
receivedError(Message) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
receivedGreeting(Message) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementProfile
Invoked by the session when a greeting has been received during the session startup.
receivedGreeting(Message) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
receivedNUL() - Method in class net.sf.beep4j.NullReplyHandler
 
receivedNUL() - Method in interface net.sf.beep4j.ReplyHandler
Invoked when a NUL response is received.
receivedRPY(Message) - Method in class net.sf.beep4j.NullReplyHandler
 
receivedRPY(Message) - Method in interface net.sf.beep4j.ReplyHandler
Invoked when a RPY response is received.
receiveERR(int, int, Message) - Method in interface net.sf.beep4j.internal.MessageHandler
Receive a ERR message.
receiveERR(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
receiveERR(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
receiveERR(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
receiveERR(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl
 
receiveMSG(int, int, Message) - Method in interface net.sf.beep4j.internal.MessageHandler
Receive a MSG message.
receiveMSG(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
receiveMSG(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
receiveMSG(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
receiveMSG(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl
 
receiveNUL(int, int) - Method in interface net.sf.beep4j.internal.MessageHandler
Receive a NUL message.
receiveNUL(int, int) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
receiveNUL(int, int) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
receiveNUL(int, int) - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
receiveNUL(int, int) - Method in class net.sf.beep4j.internal.SessionImpl
 
receiveRPY(int, int, Message) - Method in interface net.sf.beep4j.internal.MessageHandler
Receive a RPY message.
receiveRPY(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
receiveRPY(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
receiveRPY(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
receiveRPY(int, int, Message) - Method in class net.sf.beep4j.internal.SessionImpl
 
registerHandler(String, ElementHandler) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ElementHandlerContentHandler
 
registerProfile(String) - Method in class net.sf.beep4j.internal.DefaultStartSessionRequest
 
registerProfile(String) - Method in interface net.sf.beep4j.StartSessionRequest
Registers a profile URI, which will be advertised as part of the greeting element.
ReInit(InputStream) - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
ReInit(Reader) - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
ReInit(ContentTypeParserTokenManager) - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
ReInit(SimpleCharStream) - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
ReInit(SimpleCharStream, int) - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
ReInit(Reader, int, int, int) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
ReInit(Reader, int, int) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
ReInit(Reader) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
ReInit(InputStream) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
ReInit(InputStream, int, int) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
reject() - Method in interface net.sf.beep4j.CloseChannelRequest
 
Reply - Interface in net.sf.beep4j
A ResponseHandler is passed to the application whenever a message of type MSG is received.
ReplyHandler - Interface in net.sf.beep4j
Callback interface used to notify the application about a reply to a message.
requestChannelClose(int, CloseChannelCallback) - Method in interface net.sf.beep4j.internal.InternalSession
 
requestChannelClose(int, CloseChannelCallback) - Method in class net.sf.beep4j.internal.SessionImpl
 
reset() - Method in class net.sf.beep4j.internal.util.ByteBufferInputStream
 

S

SaxMessageBuilder - Class in net.sf.beep4j.internal.profile
 
SaxMessageBuilder() - Constructor for class net.sf.beep4j.internal.profile.SaxMessageBuilder
 
SaxMessageParser - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser() - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser
 
SaxMessageParser.CloseElementHandler - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser.CloseElementHandler(ElementHandlerContext) - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser.CloseElementHandler
 
SaxMessageParser.ElementHandlerContentHandler - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser.ElementHandlerContentHandler() - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser.ElementHandlerContentHandler
 
SaxMessageParser.ErrorElementHandler - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser.ErrorElementHandler(ElementHandlerContext) - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser.ErrorElementHandler
 
SaxMessageParser.GreetingElementHandler - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser.GreetingElementHandler(ElementHandlerContext) - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser.GreetingElementHandler
 
SaxMessageParser.OkElementHandler - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser.OkElementHandler() - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser.OkElementHandler
 
SaxMessageParser.ProfileElementHandler - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser.ProfileElementHandler(ElementHandlerContext) - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser.ProfileElementHandler
 
SaxMessageParser.SimpleProfileElementHandler - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser.SimpleProfileElementHandler(ElementHandlerContext) - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser.SimpleProfileElementHandler
 
SaxMessageParser.StartElementHandler - Class in net.sf.beep4j.internal.profile
 
SaxMessageParser.StartElementHandler(ElementHandlerContext) - Constructor for class net.sf.beep4j.internal.profile.SaxMessageParser.StartElementHandler
 
selectProfile(ProfileInfo, ChannelHandler) - Method in interface net.sf.beep4j.StartChannelRequest
Selects one particular profile from the list of profiles.
send(Transport) - Method in class net.sf.beep4j.internal.Frame
 
sendANS(Message) - Method in class net.sf.beep4j.internal.SessionImpl.DefaultReply
 
sendANS(Message) - Method in class net.sf.beep4j.internal.SessionImpl.InitialReply
 
sendANS(int, int, Message) - Method in interface net.sf.beep4j.internal.tcp.ChannelController
Send an ANS message with the given messageNumber and answerNumber on the channel of this controller.
sendANS(int, int, Message) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 
sendANS(int, int, int, Message) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
sendANS(int, int, int, Message) - Method in interface net.sf.beep4j.internal.TransportMapping
Sends a message of type ANS.
sendANS(Message) - Method in interface net.sf.beep4j.Reply
Sends a reply of type ANS.
sendBytes(ByteBuffer) - Method in class net.sf.beep4j.transport.mina.MinaTransport
 
sendBytes(ByteBuffer) - Method in interface net.sf.beep4j.transport.Transport
Sends the passed in bytes to the other peer.
sendERR(Message) - Method in class net.sf.beep4j.internal.SessionImpl.DefaultReply
 
sendERR(int, Message) - Method in interface net.sf.beep4j.internal.tcp.ChannelController
Sends an ERR message with the given messageNumber on the channel of this controller.
sendERR(int, Message) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 
sendERR(int, int, Message) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
sendERR(int, int, Message) - Method in interface net.sf.beep4j.internal.TransportMapping
Sends a message of type ERR.
sendERR(Message) - Method in interface net.sf.beep4j.Reply
Sends a negative reply of type ERR.
sendFrames(Transport) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 
sendMessage(Message, ReplyHandler) - Method in interface net.sf.beep4j.Channel
Sends a message on this channel to the remote peer.
sendMessage(int, Message, ReplyHandler) - Method in interface net.sf.beep4j.internal.InternalSession
 
sendMessage(int, Message, ReplyHandler) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
sendMessage(int, Message, ReplyHandler) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
sendMessage(int, Message, ReplyHandler) - Method in class net.sf.beep4j.internal.SessionImpl
 
sendMessage(int, Message, ReplyHandler) - Method in interface net.sf.beep4j.internal.SessionImpl.SessionState
 
sendMSG(int, Message) - Method in interface net.sf.beep4j.internal.tcp.ChannelController
Sends an MSG message with the given messageNumber on the channel of this controller.
sendMSG(int, Message) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 
sendMSG(int, int, Message) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
sendMSG(int, int, Message) - Method in interface net.sf.beep4j.internal.TransportMapping
Sends a message of type MSG.
sendNUL() - Method in class net.sf.beep4j.internal.SessionImpl.DefaultReply
 
sendNUL() - Method in class net.sf.beep4j.internal.SessionImpl.InitialReply
 
sendNUL(int) - Method in interface net.sf.beep4j.internal.tcp.ChannelController
Sends an NUL message with the given messageNumber on the channel of this controller.
sendNUL(int) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 
sendNUL(int, int) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
sendNUL(int, int) - Method in interface net.sf.beep4j.internal.TransportMapping
Sends a message of type NUL.
sendNUL() - Method in interface net.sf.beep4j.Reply
Sends a reply of type NUL.
sendRPY(Message) - Method in class net.sf.beep4j.internal.SessionImpl.DefaultReply
 
sendRPY(int, Message) - Method in interface net.sf.beep4j.internal.tcp.ChannelController
Sends an RPY message with the given messageNumber on the channel of this controller.
sendRPY(int, Message) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 
sendRPY(int, int, Message) - Method in class net.sf.beep4j.internal.tcp.TCPMapping
 
sendRPY(int, int, Message) - Method in interface net.sf.beep4j.internal.TransportMapping
Sends a message of type RPY.
sendRPY(Message) - Method in interface net.sf.beep4j.Reply
Sends a positive reply of type RPY.
SEQHeader - Class in net.sf.beep4j.internal.tcp
Object representation of a SEQ header as used by the TCP transport mapping defined in RFC 3081.
SEQHeader(int, long, int) - Constructor for class net.sf.beep4j.internal.tcp.SEQHeader
 
SEQHeader(String[]) - Constructor for class net.sf.beep4j.internal.tcp.SEQHeader
 
Sequence<T extends java.lang.Number> - Interface in net.sf.beep4j.internal.util
A Sequence returns positive sequential numbers.
sequenceNumber - Variable in class net.sf.beep4j.internal.DataHeader
The sequence number of the first byte in the frame's payload.
Session - Interface in net.sf.beep4j
Represents a BEEP session with another peer.
sessionClosed() - Method in class net.sf.beep4j.ext.SessionHandlerAdapter
Notifies the handler that the Session has been closed.
sessionClosed() - Method in interface net.sf.beep4j.SessionHandler
This method is invoked when the session is closed.
sessionClosed(IoSession) - Method in class net.sf.beep4j.transport.mina.MinaListener.BEEPIoHandler
 
sessionClosed(IoSession) - Method in class net.sf.beep4j.transport.mina.MinaTransport
 
sessionCloseRequested(CloseCallback) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
sessionCloseRequested(CloseCallback) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
sessionCloseRequested(CloseCallback) - Method in class net.sf.beep4j.internal.SessionImpl
 
sessionCloseRequested(CloseCallback) - Method in interface net.sf.beep4j.internal.SessionImpl.SessionState
 
sessionCloseRequested(CloseCallback) - Method in class net.sf.beep4j.internal.SessionImpl.WaitForResponseState
 
sessionCloseRequested(CloseCallback) - Method in interface net.sf.beep4j.internal.SessionManager
Closes the session.
SessionHandler - Interface in net.sf.beep4j
The SessionHandler represents the incoming view of a BEEP session.
SessionHandlerAdapter - Class in net.sf.beep4j.ext
Base class for SessionHandler implementations.
SessionHandlerAdapter() - Constructor for class net.sf.beep4j.ext.SessionHandlerAdapter
 
SessionHandlerFactory - Interface in net.sf.beep4j
A SessionHandlerFactory creates SessionHandler objects.
SessionImpl - Class in net.sf.beep4j.internal
Default implementation of the Session interface.
SessionImpl(boolean, SessionHandler, TransportMapping) - Constructor for class net.sf.beep4j.internal.SessionImpl
 
SessionImpl.AbstractSessionState - Class in net.sf.beep4j.internal
 
SessionImpl.AbstractSessionState() - Constructor for class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
SessionImpl.AliveState - Class in net.sf.beep4j.internal
 
SessionImpl.AliveState() - Constructor for class net.sf.beep4j.internal.SessionImpl.AliveState
 
SessionImpl.DeadState - Class in net.sf.beep4j.internal
 
SessionImpl.DeadState() - Constructor for class net.sf.beep4j.internal.SessionImpl.DeadState
 
SessionImpl.DefaultReply - Class in net.sf.beep4j.internal
 
SessionImpl.DefaultReply(TransportMapping, int, int) - Constructor for class net.sf.beep4j.internal.SessionImpl.DefaultReply
 
SessionImpl.InitialReply - Class in net.sf.beep4j.internal
 
SessionImpl.InitialReply(TransportMapping) - Constructor for class net.sf.beep4j.internal.SessionImpl.InitialReply
 
SessionImpl.InitialState - Class in net.sf.beep4j.internal
 
SessionImpl.InitialState() - Constructor for class net.sf.beep4j.internal.SessionImpl.InitialState
 
SessionImpl.SessionState - Interface in net.sf.beep4j.internal
 
SessionImpl.WaitForResponseState - Class in net.sf.beep4j.internal
 
SessionImpl.WaitForResponseState() - Constructor for class net.sf.beep4j.internal.SessionImpl.WaitForResponseState
 
SessionListener - Interface in net.sf.beep4j.internal
 
SessionManager - Interface in net.sf.beep4j.internal
The SessionManager is used to start / close channels.
sessionOpened(Session) - Method in class net.sf.beep4j.ext.SessionHandlerAdapter
Notifies the handler that the Session was successfully established.
sessionOpened(Session) - Method in interface net.sf.beep4j.SessionHandler
This method is invoked when the session has been established.
sessionOpened(IoSession) - Method in class net.sf.beep4j.transport.mina.MinaListener.BEEPIoHandler
 
sessionOpened(IoSession) - Method in class net.sf.beep4j.transport.mina.MinaTransport
 
sessionStartDeclined(int, String) - Method in class net.sf.beep4j.ext.SessionHandlerAdapter
Notifies the handler that the session start was refused by the remote peer.
sessionStartDeclined(int, String) - Method in interface net.sf.beep4j.SessionHandler
Invoked by the framework if the remote peer declines the session start by sending an error in a negative reply.
setChannelFilterChainBuilder(ChannelFilterChainBuilder) - Method in interface net.sf.beep4j.Peer
Sets the ChannelFilterChainBuilder used by this peer.
setChannelFilterChainBuilder(ChannelFilterChainBuilder) - Method in class net.sf.beep4j.transport.mina.AbstractMinaPeer
 
setCharset(String) - Method in class net.sf.beep4j.internal.message.MessageHeader
 
setCharsetName(String) - Method in class net.sf.beep4j.internal.message.DefaultMessageBuilder
 
setCharsetName(String) - Method in interface net.sf.beep4j.MessageBuilder
Sets the character encoding used by the message.
setContentType(String, String) - Method in class net.sf.beep4j.internal.message.DefaultMessageBuilder
 
setContentType(String, String) - Method in class net.sf.beep4j.internal.message.MessageHeader
 
setContentType(String, String) - Method in interface net.sf.beep4j.MessageBuilder
Sets the content type of the message.
setDebugStream(PrintStream) - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 
setTransferEncoding(String) - Method in class net.sf.beep4j.internal.message.MessageHeader
 
SimpleCharStream - Class in net.sf.beep4j.internal.message.contenttype
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
specialConstructor - Variable in exception net.sf.beep4j.internal.message.contenttype.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class net.sf.beep4j.internal.message.contenttype.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
split(int) - Method in class net.sf.beep4j.internal.DataHeader.ANSHeader
 
split(int) - Method in class net.sf.beep4j.internal.DataHeader
Splits the header into two parts.
split(int) - Method in class net.sf.beep4j.internal.Frame
 
startChannel(int, ProfileInfo[], StartChannelCallback) - Method in interface net.sf.beep4j.internal.profile.ChannelManagementProfile
Sends a start channel message to the other peer.
startChannel(int, ProfileInfo[], StartChannelCallback) - Method in class net.sf.beep4j.internal.profile.ChannelManagementProfileImpl
 
startChannel(ProfileInfo[], ChannelHandlerFactory) - Method in class net.sf.beep4j.internal.SessionImpl.AbstractSessionState
 
startChannel(ProfileInfo[], ChannelHandlerFactory) - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
startChannel(ProfileInfo[], ChannelHandlerFactory) - Method in interface net.sf.beep4j.internal.SessionImpl.SessionState
 
startChannel(String, ChannelHandler) - Method in class net.sf.beep4j.internal.SessionImpl
 
startChannel(ProfileInfo, ChannelHandler) - Method in class net.sf.beep4j.internal.SessionImpl
 
startChannel(ProfileInfo[], ChannelHandlerFactory) - Method in class net.sf.beep4j.internal.SessionImpl
 
startChannel(String, ChannelHandler) - Method in interface net.sf.beep4j.Session
Tries to start a new channel using the profile identified by the given uri.
startChannel(ProfileInfo, ChannelHandler) - Method in interface net.sf.beep4j.Session
Tries to start a new channel using the profile passed in.
startChannel(ProfileInfo[], ChannelHandlerFactory) - Method in interface net.sf.beep4j.Session
Tries to start a new channel using one of the profiles passed in.
StartChannelCallback - Interface in net.sf.beep4j.internal.profile
 
startChannelFailed(int, String) - Method in interface net.sf.beep4j.ChannelHandlerFactory
Notifies the factory that the channel creation failed.
StartChannelRequest - Interface in net.sf.beep4j
Represents a request to start a new channel by the other peer.
StartChannelResponse - Class in net.sf.beep4j.internal
 
startElement(String, Map<String, String>) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.CloseElementHandler
 
startElement(String, String, String, Attributes) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ElementHandlerContentHandler
 
startElement(String, Map<String, String>) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ErrorElementHandler
 
startElement(String, Map<String, String>) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.GreetingElementHandler
 
startElement(String, Map<String, String>) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.OkElementHandler
 
startElement(String, Map<String, String>) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.ProfileElementHandler
 
startElement(String, Map<String, String>) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.SimpleProfileElementHandler
 
startElement(String, Map<String, String>) - Method in class net.sf.beep4j.internal.profile.SaxMessageParser.StartElementHandler
 
StartSessionRequest - Interface in net.sf.beep4j
The StartSessionRequest is used when establishing a session to register profiles or to cancel the session.
staticFlag - Static variable in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
StreamParser - Interface in net.sf.beep4j.internal
Interface to be implemented by parsers that know how to process a BEEP stream.
SwitchTo(int) - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParserTokenManager
 

T

TCPMapping - Class in net.sf.beep4j.internal.tcp
 
TCPMapping(Transport) - Constructor for class net.sf.beep4j.internal.tcp.TCPMapping
 
TCPMapping(Transport, ChannelControllerFactory) - Constructor for class net.sf.beep4j.internal.tcp.TCPMapping
 
TCPMapping(Transport, ChannelControllerFactory, int) - Constructor for class net.sf.beep4j.internal.tcp.TCPMapping
 
toASCII(String) - Static method in class net.sf.beep4j.internal.util.ByteUtil
 
token - Variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
Token - Class in net.sf.beep4j.internal.message.contenttype
Describes the input token stream.
Token() - Constructor for class net.sf.beep4j.internal.message.contenttype.Token
 
token_source - Variable in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
tokenImage - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 
tokenImage - Variable in exception net.sf.beep4j.internal.message.contenttype.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - Error in net.sf.beep4j.internal.message.contenttype
 
TokenMgrError() - Constructor for error net.sf.beep4j.internal.message.contenttype.TokenMgrError
 
TokenMgrError(String, int) - Constructor for error net.sf.beep4j.internal.message.contenttype.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error net.sf.beep4j.internal.message.contenttype.TokenMgrError
 
toString() - Method in class net.sf.beep4j.internal.DataHeader.ANSHeader
 
toString() - Method in class net.sf.beep4j.internal.DataHeader
 
toString() - Method in class net.sf.beep4j.internal.Frame
 
toString() - Method in class net.sf.beep4j.internal.message.contenttype.Token
Returns the image.
toString() - Method in class net.sf.beep4j.internal.profile.BEEPError
 
toString() - Method in class net.sf.beep4j.internal.profile.Greeting
 
toString() - Method in class net.sf.beep4j.internal.SessionImpl.AliveState
 
toString() - Method in class net.sf.beep4j.internal.SessionImpl.DeadState
 
toString() - Method in class net.sf.beep4j.internal.SessionImpl.InitialState
 
toString() - Method in class net.sf.beep4j.internal.SessionImpl.WaitForResponseState
 
toString() - Method in class net.sf.beep4j.internal.tcp.SEQHeader
 
toString() - Method in class net.sf.beep4j.ProfileInfo
 
TRAILER - Static variable in class net.sf.beep4j.internal.Constants
 
TRAILER_BYTES - Static variable in class net.sf.beep4j.internal.Constants
 
TRAILER_LENGTH - Static variable in class net.sf.beep4j.internal.Constants
 
Transport - Interface in net.sf.beep4j.transport
The Transport interface has to be implemented by the transport layer
TransportContext - Interface in net.sf.beep4j.transport
The TransportContext defines the methods that a Transport implementation can use to notify the BEEP implementation about important events.
TransportMapping - Interface in net.sf.beep4j.internal
A TransportMapping implements a transport mapping as described by section 2.5 of the BEEP specification (RFC 3080).
type - Variable in class net.sf.beep4j.internal.DataHeader
The message type of the frame.
TYPE - Static variable in class net.sf.beep4j.internal.tcp.SEQHeader
 

U

unbind(SocketAddress) - Method in class net.sf.beep4j.transport.mina.MinaListener
 
unlock() - Method in class net.sf.beep4j.internal.SessionImpl
 
UpdateLineColumn(char) - Method in class net.sf.beep4j.internal.message.contenttype.SimpleCharStream
 
updateSendWindow(long, int) - Method in interface net.sf.beep4j.internal.tcp.ChannelController
To be invoked whenever a SEQ frame is received to update the sender window.
updateSendWindow(long, int) - Method in class net.sf.beep4j.internal.tcp.DefaultChannelController
 

V

value() - Method in class net.sf.beep4j.internal.message.contenttype.ContentTypeParser
 
valueOf(String) - Static method in enum net.sf.beep4j.internal.MessageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.beep4j.internal.MessageType
Returns an array containing the constants of this enum type, in the order they're declared.
verify() - Method in class net.sf.beep4j.internal.VerifyingCloseChannelCallback
 
VerifyingCloseChannelCallback - Class in net.sf.beep4j.internal
 
VerifyingCloseChannelCallback(CloseChannelCallback) - Constructor for class net.sf.beep4j.internal.VerifyingCloseChannelCallback
 

W

WS - Static variable in interface net.sf.beep4j.internal.message.contenttype.ContentTypeParserConstants
 

X

XMLConstants - Interface in net.sf.beep4j.internal.profile
 

A B C D E F G H I J K L M N P Q R S T U V W X

Copyright © 2007 null. All Rights Reserved.