Class ClassInfo
java.lang.Object
com.jme3.network.service.rmi.ClassInfo
Internal information about a shared class. This is the information
that is sent over the wire for shared types.
- Author:
- Paul Speed
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortgetId()Returns the network id assigned to this type.getMethod(short id) Returns the method metadata associated with the specified id.Finds method metadata matching the specified reflected method.Returns the method metadata array for this shared type.getName()Returns the binary name of the shared type.getType()Resolves the shared type into aClass.toString()
-
Constructor Details
-
ClassInfo
public ClassInfo()For serialization only. -
ClassInfo
Creates shared class metadata for the specified type.- Parameters:
typeId- the network id assigned to the shared typetype- the reflected shared interface type
-
-
Method Details
-
getName
-
getType
-
getId
public short getId()Returns the network id assigned to this type.- Returns:
- the type id
-
getMethod
Returns the method metadata associated with the specified id.- Parameters:
id- the method id- Returns:
- the matching method metadata
-
getMethod
Finds method metadata matching the specified reflected method.- Parameters:
m- the reflected method- Returns:
- the matching method metadata, or null if none matches
-
getMethods
Returns the method metadata array for this shared type.- Returns:
- the shared method metadata
-
toString
-