IO ServicePage edited by Emmanuel LécharnyChanges (1)
Full ContentIntroductionIoService is an interface that is implemented by the two most important classes in MINA :
In order to build a server, you need to select an implementation of the IoAcceptor interface. For client applications, you need to implement an implementation of the IoConnector interface. IoAcceptorBasically, this interface is named because of the accept() method, responsible for the creation of new connection between a client and the server. The server accepts incoming connection request. At some point, we could have named this interface 'Server'. As we may deal with more than one kind of transport (TCP/UDP/...), we have more than one implementation for this interface. It would be very unlikely that you need to implement a new one. We have many of those implementing classes
Just pick the one that fit your need. Here is the class diagram for the IoAcceptor interfaces and classes : (The editable file is available here) IoConnectorAs we have to use an IoAcceptor for servers, you have to implement the IoConnector. Again, we have many implementation classes :
Just pick the one that fit your need. Here is the class diagram for the IoConnector interfaces and classes : (The editable file is available here)
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache MINA > IO Service confluence
- [CONF] Apache MINA > IO Service confluence
