com.sun.sgs.protocol
Interface ProtocolDescriptor

All Known Implementing Classes:
SimpleSgsProtocolDescriptor

public interface ProtocolDescriptor

A communication protocol descriptor. Classes that implement ProtocolDescriptor must also implement Serializable, and must not implement ManagedObject or contain any objects that implement ManagedObject. An instance of ProtocolDescriptor should also be immutable.


Method Summary
 boolean supportsProtocol(ProtocolDescriptor descriptor)
          Returns true if the specified descriptor represents a protocol supported by the protocol that this descriptor represents, and returns false otherwise.
 

Method Detail

supportsProtocol

boolean supportsProtocol(ProtocolDescriptor descriptor)
Returns true if the specified descriptor represents a protocol supported by the protocol that this descriptor represents, and returns false otherwise. The determination of whether the given protocol is supported is protocol specific.

Parameters:
descriptor - a protocol descriptor
Returns:
true if the specified descriptor represents a protocol supported by the protocol that this descriptor represents, and false otherwise

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved