Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.agent.server
Interface AgentConnectionProcessor


public interface AgentConnectionProcessor

This interface is used by handlers which wish to register themselves connection processors.


Method Summary
 java.net.Socket handleConnection(java.net.Socket connection)
          Handle an incoming connection.
 

Method Detail

handleConnection

java.net.Socket handleConnection(java.net.Socket connection)
                                 throws AgentConnectionException
Handle an incoming connection. This routine can do things such as perform authentication, enable SSL, etc.

Parameters:
connection - Incoming connection to handle
Returns:
a socket which the agent should use for the rest of the communication.
Throws:
AgentConnectionException

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.