copyright The Portico Project 2008.

Uses of Class
org.portico.shared.model.OCMetadata

Packages that use OCMetadata
org.portico.core.fedex   
org.portico.core.handlers   
org.portico.impl.hla13.fomparser   
org.portico.impl.hla1516.fomparser   
org.portico.lrc.handlers   
org.portico.shared.model   
 

Uses of OCMetadata in org.portico.core.fedex
 

Fields in org.portico.core.fedex declared as OCMetadata
private  OCMetadata OCInterest.objectClass
           
 

Fields in org.portico.core.fedex with type parameters of type OCMetadata
private  Map<OCMetadata,Set<Repository.Wrapper>> Repository.byType
           
private  Map<Federate,OCMetadata> Repository.Wrapper.discoverers
           
private  Map<OCMetadata,OCInterest> InterestManager.oPublications
           
private  Map<OCMetadata,OCInterest> InterestManager.oSubscriptions
           
 

Methods in org.portico.core.fedex that return OCMetadata
 OCMetadata OCInterest.getObjectClass()
           
 

Methods in org.portico.core.fedex that return types with arguments of type OCMetadata
 Map<OCMetadata,RegionGroup> InterestManager.getAllPublishedAttributes(Federate federate)
          This method will return a map of all the publication interests of the provided federate.
 Map<OCMetadata,RegionGroup> InterestManager.getAllSubscribedAttributes(Federate federate)
          This method will return a map of all the subscription interests for the provided federate.
 Map<Federate,OCMetadata> Repository.getDiscoverers(int handle)
          Get the map of all discoverers and the type they discovered the instance as.
 Map<Federate,OCMetadata> InterestManager.getObjectSubscribers(int classHandle)
          Return the set of subscribers for class represented by the given handle in addition to the object class for which they are a subscriber to.
 

Methods in org.portico.core.fedex with parameters of type OCMetadata
private  OCInstance Repository._registerInstance(Federate federate, OCMetadata type, String name)
          I factor this out into a separate method because it is just too much code to wrap in a try/finally block
 void Repository.discoverInstance(Federate federate, int instance, OCMetadata type)
          Record the given federate as a discoverer of the given instance.
 Map<Integer,Set<RegionInstance>> InterestManager.getAttributeSubscriptionSetWithDDM(OCMetadata objectClass, Federate federate)
          This method is much like InterestManager.getAttributeSubscriptionSet(int, Federate) except that it will return a map containing ALL subscription information (both DDM and non-DDM).
 Set<OCInstance> Repository.getInstances(OCMetadata type)
          Find and return a set of all the registered object instances that are of the given object class.
 Set<OCInstance> Repository.getUndiscovered(Federate federate, OCMetadata type)
          Find a list of all the instances that are of the given type (or child-type) that have yet to be discovered by the given federate.
 OCInstance Repository.registerInstance(Federate federate, OCMetadata type, String name)
          Creates a new instance and stores it in the repository.
 OCInstance Repository.registerInstance(Federate federate, OCMetadata type, String name, Map<Integer,Integer> regionMap)
          This method basically extends Repository.registerInstance(Federate, OCMetadata, String) except that it will take the provided region/attribute association data and do an effective associateRegionForUpdates() call before returning the instance.
 

Constructors in org.portico.core.fedex with parameters of type OCMetadata
OCInterest(OCMetadata objectClass)
           
OCInterest(OCMetadata objectClass, Federate federate, Set<Integer> attributeHandles)
          Creates a new OCInterest and registers the given federate and attributes.
 

Uses of OCMetadata in org.portico.core.handlers
 

Methods in org.portico.core.handlers with parameters of type OCMetadata
private  FED_ReflectAttributes ACT_UpdateHandler.generateRawCallback(Federate target, OCInstance theObject, OCMetadata discoveredClass, HashMap<Integer,byte[]> updated, byte[] callbackTag)
          Create a new callback and return it.
private  void ACT_RequestClassUpdateHandler.processClass(OCMetadata oClass, Set<Integer> attributes, byte[] tag, Federate requesting, RegionInstance region)
          This method will call #queueCallbacks(OCMetadata, Set, byte[]) for the given class, and then will do the same for all the child classes.
private  void ACT_RequestClassUpdateHandler.queueCallbacks(OCMetadata oClass, Set<Integer> requestedAttributes, byte[] tag, Federate requesting, RegionInstance region)
          This method performs the actual creation and queueing of the "provide update" callbacks.
 

Uses of OCMetadata in org.portico.impl.hla13.fomparser
 

Methods in org.portico.impl.hla13.fomparser with parameters of type OCMetadata
 void FOM.objectAttribute(OCMetadata theClass, ObjectModel theModel)
           
 void FOM.objectClass(ObjectModel theModel, OCMetadata parent)
           
 

Uses of OCMetadata in org.portico.impl.hla1516.fomparser
 

Methods in org.portico.impl.hla1516.fomparser that return OCMetadata
private  OCMetadata FOM.processObjects(Element element)
           
private  OCMetadata FOM.processOC(Element element, OCMetadata parent)
           
 

Methods in org.portico.impl.hla1516.fomparser with parameters of type OCMetadata
private  void FOM.attachAttributes(Element oClass, OCMetadata parent)
           
private  OCMetadata FOM.processOC(Element element, OCMetadata parent)
           
 

Uses of OCMetadata in org.portico.lrc.handlers
 

Methods in org.portico.lrc.handlers that return OCMetadata
private  OCMetadata REQ_RegisterObjectHandler.checkPublished(int classHandle)
          This method will try to find the OCMetadata for the object class with the given handle, validate that this federate is publishing that class and then return the metadata.
 

Methods in org.portico.lrc.handlers with parameters of type OCMetadata
 void REQ_RegisterObjectHandler.checkDDM(RTI_RegisterObject request, OCMetadata objectClass)
          This method will run DDM related checks on the provided information.
 

Uses of OCMetadata in org.portico.shared.model
 

Fields in org.portico.shared.model declared as OCMetadata
private  OCMetadata ACMetadata.container
           
private  OCMetadata ObjectModel.ocroot
           
private  OCMetadata OCMetadata.parent
           
private  OCMetadata OCInstance.type
           
 

Fields in org.portico.shared.model with type parameters of type OCMetadata
private  Set<OCMetadata> OCMetadata.children
           
private  Map<Integer,OCMetadata> ObjectModel.oclasses
           
 

Methods in org.portico.shared.model that return OCMetadata
 OCMetadata ACMetadata.getContainer()
           
 OCMetadata ObjectModel.getObjectClass(int handle)
          Fetch the object class of the given handle in this model.
 OCMetadata ObjectModel.getObjectClass(String name)
          Fetch the object class with the given name and return it.
 OCMetadata ObjectModel.getObjectRoot()
          Get the class that represents ObjectRoot (or HLAObjectRoot in 1516).
 OCMetadata OCMetadata.getParent()
          Return the parent of this object class
 OCMetadata OCInstance.getType()
           
 OCMetadata ObjectModel.newObject(String name)
          Creates a new OCMetadata instance with the given name and a generaetd handle.
 OCMetadata ObjectModel.removeObjectClass(int handle)
          Remove and return the given object class from this model.
 

Methods in org.portico.shared.model that return types with arguments of type OCMetadata
 Set<OCMetadata> ObjectModel.getAllObjectClasses()
          Get a set of all the object classes currently contained within this FOM.
 Set<OCMetadata> OCMetadata.getChildTypes()
          Returns a set of all the direct child types of this one.
 

Methods in org.portico.shared.model with parameters of type OCMetadata
 void ObjectModel.addObjectClass(OCMetadata oc)
          Add the given object class to this model.
private  void StringRenderer.renderObject(OCMetadata clazz, StringBuilder builder, int level)
           
 void ACMetadata.setContainer(OCMetadata container)
           
 void ObjectModel.setObjectRoot(OCMetadata root)
          Designate the given class as the object root of this FOM.
 void OCMetadata.setParent(OCMetadata oc)
          Set the parent of this class
 void OCInstance.setType(OCMetadata type)
           
 

Constructors in org.portico.shared.model with parameters of type OCMetadata
OCInstance(int handle, String name, OCMetadata type)
           
 


copyright The Portico Project 2008.