de.fhg.igd.semoa.server
Interface AgentGateway

All Known Subinterfaces:
AgentGateway.In, AgentGateway.Out, MessageGateway.In
All Known Implementing Classes:
HttpInGate, Pod, Pods, Pop3InGate, RawInGate, RawOutGate, SmtpOutGate

public interface AgentGateway

Serves as a tag interface. Two subinterfaces are defined in this interface; one for gateways into the server and another one for gateways out of the server.

Version:
$Id: AgentGateway.java 1913 2007-08-08 02:41:53Z jpeters $
Author:
Volker Roth

Nested Class Summary
static interface AgentGateway.In
          Implemented by gateways into the server.
static interface AgentGateway.Out
          Implemented by gateways out of the server.
 
Method Summary
 boolean isEnabled()
           
 String protocol()
           
 void setEnabled(boolean on)
          Enables and disables this gateway temporarily.
 

Method Detail

setEnabled

public void setEnabled(boolean on)
Enables and disables this gateway temporarily.

Parameters:
on - true if the gateway shall be enabled and false otherwise.

isEnabled

public boolean isEnabled()
Returns:
true if this gateway is enabled.

protocol

public String protocol()
Returns:
The lower case IN protocol name of the protocol supported by the gateway.


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.