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

📄 taggedcomponentbase.java

📁 java1.6众多例子参考
💻 JAVA
字号:
/* * @(#)TaggedComponentBase.java	1.10 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.InputStream ;import com.sun.corba.se.impl.encoding.EncapsOutputStream ;import com.sun.corba.se.spi.orb.ORB ;/** Base class to use for implementing TaggedComponents.  It implements * the getIOPComponent method using the TaggedComponent.write() method. * @author Ken Cavanaugh */public abstract class TaggedComponentBase extends IdentifiableBase     implements TaggedComponent {    public org.omg.IOP.TaggedComponent getIOPComponent( 	org.omg.CORBA.ORB orb )    {	EncapsOutputStream os = new EncapsOutputStream( (ORB)orb ) ;	write( os ) ;	InputStream is = (InputStream)(os.create_input_stream() ) ;	return org.omg.IOP.TaggedComponentHelper.read( is ) ;    }}

⌨️ 快捷键说明

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