public class RemoteTraceHandler extends java.lang.Object implements OMTraceHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_HOST |
static int |
DEFAULT_PORT |
Constructor and Description |
---|
RemoteTraceHandler() |
RemoteTraceHandler(java.lang.String agentID) |
RemoteTraceHandler(java.lang.String agentID,
java.lang.String host) |
RemoteTraceHandler(java.lang.String agentID,
java.lang.String host,
int port) |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
close() |
protected java.net.Socket |
connect() |
void |
traced(OMTraceHandlerEvent event) |
static java.lang.String |
uniqueAgentID() |
protected void |
writeUTF(java.io.DataOutputStream out,
java.lang.String str) |
public static final java.lang.String DEFAULT_HOST
public static final int DEFAULT_PORT
public RemoteTraceHandler() throws java.io.IOException
java.io.IOException
public RemoteTraceHandler(java.lang.String agentID) throws java.io.IOException
java.io.IOException
public RemoteTraceHandler(java.lang.String agentID, java.lang.String host) throws java.io.IOException
java.io.IOException
public RemoteTraceHandler(java.lang.String agentID, java.lang.String host, int port) throws java.io.IOException
java.io.IOException
public java.lang.Exception close()
public void traced(OMTraceHandlerEvent event)
traced
in interface OMTraceHandler
protected java.net.Socket connect() throws java.io.IOException
java.io.IOException
protected void writeUTF(java.io.DataOutputStream out, java.lang.String str) throws java.io.IOException
java.io.IOException
public static java.lang.String uniqueAgentID()
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html