public interface AgentSessionFactory
extends Remote
Provides an interface for the creation of an
AgentSession
.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVER_NAME
Default Agent RMI server name.
|
Modifier and Type | Method and Description |
---|---|
AgentSession |
createAgentSession(UUID uuid,
String clientName)
Creates a JMX agent session.
|
static final String DEFAULT_SERVER_NAME
AgentSession createAgentSession(@Nonnull UUID uuid, @Nonnull String clientName) throws RemoteException, SessionException
uuid
- A UUID used to locate the RMI client instance.clientName
- A descriptive name for the client.RemoteException
- From RMI RunTime.SessionException
- From the session creation.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.