1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.mina.io.datagram;
20
21 import org.apache.mina.common.BaseSessionManager;
22 import org.apache.mina.io.IoSessionManager;
23
24 /***
25 * A base class for {@link DatagramAcceptor} and {@link DatagramConnector}.
26 * Session interacts with this abstract class instead of those two concrete
27 * classes.
28 *
29 * @author Trustin Lee (trustin@apache.org)
30 * @version $Rev: 210062 $, $Date: 2005-07-11 12:52:38 +0900 $
31 */
32 abstract class DatagramSessionManager extends BaseSessionManager implements IoSessionManager
33 {
34 /***
35 * Requests this processor to flush the write buffer of the specified
36 * session. This method is invoked by MINA internally.
37 */
38 abstract void flushSession( DatagramSession session );
39
40 /***
41 * Requests this processor to close the specified session.
42 * This method is invoked by MINA internally.
43 */
44 abstract void closeSession( DatagramSession session );
45 }