/**
* Create a new server connection.
* @param socket server socket to communicate via
* @param connectionId connection id for this connection
* @param authenticator authenticator
* @param mBeanServer mbean server
*/
ServerConnection(final Socket socket, final String connectionId, final JMXAuthenticator authenticator,
final JMXAccessController accessController, final MBeanServer mBeanServer) throws IOException {
this.socket = socket;
this.connectionId = connectionId;
this.authenticator = authenticator;
this.accessController = accessController;
// The socket InputStream and OutputStream are not closed directly. They
// are closed via method calls on the socket itself.
input = new MessageInputStream(socket.getInputStream());
output = new MessageOutputStream(socket.getOutputStream());
this.mBeanServer = mBeanServer;
}
ServerConnection.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:OperatieBRP
作者:
评论列表
文章目录