org.objectweb.dream.protocol
Interface Protocol

All Known Subinterfaces:
BusProtocol, ChannelProtocol, LogicalClockBusProtocol, MessagePassingProtocol, MultiplexExportProtocol, ReliableMessagePassingProtocol, RPCProtocol, TCPIPProtocol, UDPProtocol
All Known Implementing Classes:
BufferedMessagePassingProtocolImpl, BusProtocolImpl, FragmentationProtocolImpl, MessagePassingOverChannelImpl, MultiplexBindProtocolImpl, MultiplexExportProtocolImpl, ProtocolImpl, ProtocolImpl, ReliableMessagePassingProtocolImpl, SerializatorMessagePassingProtocolImpl, TCPIPProtocolImpl, UDPProtocolImpl

public interface Protocol

Base protocol interface, contains commonly used names to refer to protocol interfaces.


Field Summary
static String ITF_NAME
          The default name of this interface
static String LOWER_PROTOCOL_ITF_NAME
          The default name of a client interface of a protocol component bound to a lower level protocol.
 
Method Summary
 ExportIdentifier createExportIdentifier(Map<String,Object> info, ExportIdentifier[] next)
          Creates a new export identifier with the provided info
 

Field Detail

ITF_NAME

static final String ITF_NAME
The default name of this interface

See Also:
Constant Field Values

LOWER_PROTOCOL_ITF_NAME

static final String LOWER_PROTOCOL_ITF_NAME
The default name of a client interface of a protocol component bound to a lower level protocol.

See Also:
Constant Field Values
Method Detail

createExportIdentifier

ExportIdentifier createExportIdentifier(Map<String,Object> info,
                                        ExportIdentifier[] next)
                                        throws InvalidExportIdentifierException
Creates a new export identifier with the provided info

Parameters:
info - the info used to create the export identifier.
next - the export identifier of the lower level protocols.
Returns:
a new export identifier.
Throws:
InvalidExportIdentifierException - if the export identifier can't be created.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.