comparison src/share/vm/services/attachListener.hpp @ 7957:0d26ce8e9251

Merge
author acorn
date Mon, 28 Jan 2013 10:34:07 -0500
parents 8b46b0196eb0
children 3c9bc17b9403
comparison
equal deleted inserted replaced
7956:16fb9f942703 7957:0d26ce8e9251
1 /* 1 /*
2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
36 // write any result data (for examples the properties command serializes 36 // write any result data (for examples the properties command serializes
37 // properties names and values to the output stream). When the function 37 // properties names and values to the output stream). When the function
38 // complets the result value and any result data is returned to the client 38 // complets the result value and any result data is returned to the client
39 // tool. 39 // tool.
40 40
41 #ifndef SERVICES_KERNEL
42
43 class AttachOperation; 41 class AttachOperation;
44 42
45 typedef jint (*AttachOperationFunction)(AttachOperation* op, outputStream* out); 43 typedef jint (*AttachOperationFunction)(AttachOperation* op, outputStream* out);
46 44
47 struct AttachOperationFunctionInfo { 45 struct AttachOperationFunctionInfo {
48 const char* name; 46 const char* name;
49 AttachOperationFunction func; 47 AttachOperationFunction func;
50 }; 48 };
51 #endif // SERVICES_KERNEL
52 49
53 class AttachListener: AllStatic { 50 class AttachListener: AllStatic {
54 public: 51 public:
55 static void init() NOT_SERVICES_RETURN; 52 static void init() NOT_SERVICES_RETURN;
56 static void abort() NOT_SERVICES_RETURN; 53 static void abort() NOT_SERVICES_RETURN;