Hi community,

Today, I made big changes in trunk.  The following is the summarized
list of the changes:

Changes visible to users:
=========================
The following changes will affect MINA-based application code
directly.  They are mostly renaming, so simple replace operation will
fix most compilation errors.

* Renamed TransportType to IoServiceMetadata because it stands what it
does more precisely.
* Added IoServiceMetadata.hasFragmentation()
* Removed static fields in IoServiceMetadata which caused bad coupling
* Removed IoSession.getTransportType() because IoServiceMetadata can
be retrieved via IoSession.getService().getMetadata()
* Renamed ExpiringSessionRecycler to ExpiringIoSessionRecycler to get
aligned with its parent name: IoSessionRecycler
* Renamed SessionLog to IoSessionLogger to make its name get aligned
with IoSession type and SLF4J Logger type

Changes not visible to most users:
==================================
These are somewhat internal changes, which is often used to create a
new transport.

* Removed all cyclic dependencies except for test code.
* All classes in *.support package have been moved to its parent
class, and they became package-private.
* Renamed Base* to Abstract* which sounds more familiar to most developers
* Renamed DelegatedIoAcceptor to IoAcceptorWrapper and
DelegatedIoConnector to IoConnectorWrapper respectively
* Renamed SessionIdleStatusChecker to IdleStatusChecker to make its
name get aligned with IdleStatus type
* Renamed SimpleProtocolEncoderOutput to AbstractProtocolEncoderOutput
* Renamed SimpleProtocolDecoderOutput to AbstractProtocolDecoderOutput
* Simplified AbstractProtocolDecoderOutput so anyone can extend it,
and moved complicated part to ProtocolCodecFilter

All the changes above make good sense IMHO, but please let me know if
I made any mistake.  I will revert back very quickly.

Additionally, I'd like to make the following change tomorrow morning:

* IoServiceMetadata.getEnvelopeType() needs to be replaced with
getEnvelopedTypes() which returns a set of classes (i.e.
Set<Class<?>>), because the socket transport can understand two
envelope types now; ByteBuffer and FileRegion.

Thanks,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to