⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 identifiablebase.java

📁 JAVA 所有包
💻 JAVA
字号:
/* * @(#)IdentifiableBase.java	1.8 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.spi.ior;import org.omg.CORBA_2_3.portable.OutputStream ;import com.sun.corba.se.spi.ior.Writeable ;import com.sun.corba.se.spi.ior.WriteContents ;import com.sun.corba.se.spi.orb.ORB ;import com.sun.corba.se.impl.ior.EncapsulationUtility ;/** Provide support for properly reading and writing Identifiable objects* that are also encapsulations (tagged profiles and components).*/public abstract class IdentifiableBase implements Identifiable,    WriteContents{    /** Write the data for this object as a CDR encapsulation.    * This is used for writing tagged components and profiles.    * These data types must be written out as encapsulations,    * which means that we need to first write the data out to    * an encapsulation stream, then extract the data and write    * it to os as an array of octets.    */    final public void write( OutputStream os )    {	EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -