src/share/vm/services/attachListener.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** --- 20,36 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_SERVICES_ATTACHLISTENER_HPP + #define SHARE_VM_SERVICES_ATTACHLISTENER_HPP + + #include "memory/allocation.hpp" + #include "utilities/debug.hpp" + #include "utilities/ostream.hpp" + // The AttachListener thread services a queue of operations that are enqueued // by client tools. Each operation is identified by a name and has up to 3 // arguments. The operation name is mapped to a function which performs the // operation. The function is called with an outputStream which is can use to // write any result data (for examples the properties command serializes
*** 143,147 **** --- 150,156 ---- // complete operation by sending result code and any result data to the client virtual void complete(jint result, bufferedStream* result_stream) = 0; }; #endif // SERVICES_KERNEL + + #endif // SHARE_VM_SERVICES_ATTACHLISTENER_HPP