📄 iiopaddressimpl.java
字号:
/* * @(#)IIOPAddressImpl.java 1.3 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. *///Source file: J:/ws/serveractivation/src/share/classes/com.sun.corba.se.internal.ior/IIOPAddress.javapackage com.sun.corba.se.internal.ior;import org.omg.CORBA.BAD_PARAM ;import org.omg.CORBA_2_3.portable.InputStream ;import org.omg.CORBA_2_3.portable.OutputStream ;/** * @author */public final class IIOPAddressImpl extends IIOPAddressBase{ private String host; private int port; public IIOPAddressImpl( String host, int port ) { if ((port < 0) || (port > 65535)) throw new BAD_PARAM() ; this.host = host ; this.port = port ; } public IIOPAddressImpl( InputStream is ) { host = is.read_string() ; short thePort = is.read_short() ; port = shortToInt( thePort ) ; } public String getHost() { return host ; } public int getPort() { return port ; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -