本文整理汇总了Java中org.omg.SendingContext.RunTime类的典型用法代码示例。如果您正苦于以下问题:Java RunTime类的具体用法?Java RunTime怎么用?Java RunTime使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
RunTime类属于org.omg.SendingContext包,在下文中一共展示了RunTime类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getRunTimeCodeBase
import org.omg.SendingContext.RunTime; //导入依赖的package包/类
/**
* Returns the CodeBase for this ValueHandler.
*
* @return the codebase.
*/
RunTime getRunTimeCodeBase();
示例2: readValue
import org.omg.SendingContext.RunTime; //导入依赖的package包/类
/**
* Read value from the CORBA input stream in the case when the value is not
* Streamable or CustomMarshall'ed. The fields of the class being written will
* be accessed using reflection.
*
* @param in a CORBA stream to read.
* @param offset the current position in the input stream.
* @param clz the type of value being read.
* @param repositoryID the repository Id of the value being read.
* @param sender the sending context that should provide data about the
* message originator.
*
* @return the object, extracted from the stream.
*/
Serializable readValue(InputStream in, int offset, Class clz,
String repositoryID, RunTime sender);
示例3: getRunTimeCodeBase
import org.omg.SendingContext.RunTime; //导入依赖的package包/类
/**
* This implementation associates RunTime with stream rather than with the
* value handler and this method is not used in the implementation. It is
* implemented just for the sake of compatibility.
*/
public RunTime getRunTimeCodeBase()
{
return new gnuRuntime(null, null);
}
示例4: getRunTimeCodeBase
import org.omg.SendingContext.RunTime; //导入依赖的package包/类
/**
* Returns the CodeBase for this ValueHandler.
*
* @return the codebase.
*/
RunTime getRunTimeCodeBase();
示例5: readValue
import org.omg.SendingContext.RunTime; //导入依赖的package包/类
/**
* Read value from the CORBA input stream in the case when the value is not
* Streamable or CustomMarshall'ed. The fields of the class being written will
* be accessed using reflection.
*
* @param in a CORBA stream to read.
* @param offset the current position in the input stream.
* @param clz the type of value being read.
* @param repositoryID the repository Id of the value being read.
* @param sender the sending context that should provide data about the
* message originator.
*
* @return the object, extracted from the stream.
*/
Serializable readValue(InputStream in, int offset, Class clz,
String repositoryID, RunTime sender);
示例6: getRunTimeCodeBase
import org.omg.SendingContext.RunTime; //导入依赖的package包/类
/**
* This implementation associates RunTime with stream rather than with the
* value handler and this method is not used in the implementation. It is
* implemented just for the sake of compatibility.
*/
public RunTime getRunTimeCodeBase()
{
return new gnuRuntime(null, null);
}