fulmine.protocol.wire
Class SWFWireIdentityRegistry

java.lang.Object
  extended by fulmine.protocol.wire.SWFWireIdentityRegistry
All Implemented Interfaces:
IWireIdentityRegistry

public class SWFWireIdentityRegistry
extends Object
implements IWireIdentityRegistry

Provides the IWireIdentity for DescriptorField objects. These are always sent as SWF.

Author:
Ramon Servadei

Constructor Summary
SWFWireIdentityRegistry()
           
 
Method Summary
 String getIdentityFor(IWireIdentity wireId)
          Get the identity assigned to the wire identity
 IWireIdentity getWireIdentityFor(String identity)
          Get the wire identity assigned for an identity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWFWireIdentityRegistry

public SWFWireIdentityRegistry()
Method Detail

getIdentityFor

public String getIdentityFor(IWireIdentity wireId)
Description copied from interface: IWireIdentityRegistry
Get the identity assigned to the wire identity

Specified by:
getIdentityFor in interface IWireIdentityRegistry
Parameters:
wireId - the wire identity to find the plain identity for
Returns:
the String identity assigned to this wire identity

getWireIdentityFor

public IWireIdentity getWireIdentityFor(String identity)
Description copied from interface: IWireIdentityRegistry
Get the wire identity assigned for an identity

Specified by:
getWireIdentityFor in interface IWireIdentityRegistry
Parameters:
identity - the identity to find the assigned wire identity for
Returns:
the IWireIdentity assigned to this identity


Copyright © 2007-2009. All Rights Reserved.