commit | 0fb206f8405294da6d54ed9eedc3142bc0ca4f98 | [log] [tgz] |
---|---|---|
author | emmanuel lecharny <emmanuel.lecharny@busit.com> | Tue Sep 17 00:26:39 2019 +0200 |
committer | emmanuel lecharny <emmanuel.lecharny@busit.com> | Tue Sep 17 00:26:39 2019 +0200 |
tree | 86b57913bb0b14e16b5e26fc7cec46f9ccf3afbf | |
parent | 5a417a963351c7eea80a417cd6b6d4ae9fb9e904 [diff] |
Added a method to get back the IoSession from the core session
diff --git a/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java b/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java index e1361d7..043b739 100644 --- a/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java +++ b/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java
@@ -169,6 +169,17 @@ /** + * Gets the IoSession from the CoreSession. This is only useful when the server is not embedded. + * + * @return ioSession The IoSession for this CoreSession + */ + public IoSession getIoSession() + { + return ioSession; + } + + + /** * Stores the IoSession into the CoreSession. This is only useful when the server is not embedded. * * @param ioSession The IoSession for this CoreSession