blob: d6c45ae712560cba7baadd870702ecb4e70fe4bb [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
 *
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
package org.eclipse.wst.internet.monitor.core;
/**
* A protocol adapter allows the monitor to support a new protocol between a client
* and server, and manages the message passing between the two.
* <p>
* This interface is not intended to be implemented by clients.
* </p>
* @since 1.0
*/
public interface IProtocolAdapter {
/**
* Returns the id of this adapter.
* Each adapter has a distinct, fixed id. Ids are intended to be used internally as keys;
* they are not intended to be shown to end users.
*
* @return the element id
*/
public String getId();
/**
* Returns the displayable (translated) name for this adapter.
*
* @return a displayable name
*/
public String getName();
}