JavaTM Platform
Standard Ed. 6

org.omg.CORBA
클래스 ServiceInformationHolder

java.lang.Object 
  상위를 확장 org.omg.CORBA.ServiceInformationHolder
모든 구현된 인터페이스:
Streamable


public final class ServiceInformationHolder
extends Object
implements Streamable

ServiceInformation 의 홀더입니다. 홀더 파일의 자세한 것은,「생성 파일:홀더 파일」 을 참조해 주세요.

IDL 의 메소드에 OUT 파라미터 및 INOUT 파라미터를 포함하기 위해서 사용되는,ServiceInformation 의 홀더 클래스입니다. IDL 의 메소드의 시그니챠가 OUT 파라미터 또는 INOUT 파라미터로서 IDL xxx 를 가지는 경우, 프로그래머는 ServiceInformationHolder 의 인스턴스를, 메소드의 호출로 대응하는 파라미터로서 건네줄 필요가 있습니다. INOUT 파라미터의 경우, 프로그래머는 서버에게 건네지는 IN 치도 지정할 필요가 있습니다. 메소드 호출이 복귀하기 전에, ORB 는 서버로부터 반환된 OUT 치에 대응하는 값을 그 IN 치로 설정합니다.

myServiceInformationHolderServiceInformationHolder 의 인스턴스의 경우, 그 value 필드에 포함된 값에는 myServiceInformationHolder.value 를 사용해 액세스 할 수 있습니다.


필드의 개요
 ServiceInformation value
          이 ServiceInformationHolder 객체의 value 필드에 포함되는 ServiceInformation 치입니다.
 
생성자 의 개요
ServiceInformationHolder ()
          null 에 초기화된 value 필드를 사용해, 새로운 ServiceInformationHolder 객체를 구축합니다.
ServiceInformationHolder (ServiceInformation  arg)
          value 필드가 지정된 ServiceInformation 객체에 초기화해, 새로운 ServiceInformationHolder 객체를 구축합니다.
 
메소드의 개요
 void _read (InputStream  in)
          입력 스트림 in 로부터 정렬화되어 있지 않은 데이터를 읽어들여, 이 ServiceInformationHolder 객체의 value 필드에 대입합니다.
 TypeCode _type ()
          이 ServiceInformationHolder 객체의 value 필드에 포함되고 있는 값에 대응하는 TypeCode 객체를 가져옵니다.
 void _write (OutputStream  out)
          이 ServiceInformationHolder 객체의 value 필드의 값을, 출력 스트림 out 에 정렬화합니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

필드의 상세

value

public ServiceInformation  value
ServiceInformationHolder 객체의 value 필드에 포함되는 ServiceInformation 치입니다.

생성자 의 상세

ServiceInformationHolder

public ServiceInformationHolder()
null 에 초기화된 value 필드를 사용해, 새로운 ServiceInformationHolder 객체를 구축합니다.


ServiceInformationHolder

public ServiceInformationHolder(ServiceInformation  arg)
value 필드가 지정된 ServiceInformation 객체에 초기화해, 새로운 ServiceInformationHolder 객체를 구축합니다.

파라미터:
arg - 새롭게 작성되는 ServiceInformationHolder 객체의 value 필드의 초기화에 사용한다 ServiceInformation 객체
메소드의 상세

_write

public void _write(OutputStream  out)
ServiceInformationHolder 객체의 value 필드의 값을, 출력 스트림 out 에 정렬화합니다.

정의:
인터페이스 Streamable 내의 _write
파라미터:
out - CDR 형식의 데이터를 포함한다 OutputStream 객체

_read

public void _read(InputStream  in)
입력 스트림 in 로부터 정렬화되어 있지 않은 데이터를 읽어들여, 이 ServiceInformationHolder 객체의 value 필드에 대입합니다.

정의:
인터페이스 Streamable 내의 _read
파라미터:
in - 와이어로부터의 CDR 형식의 데이터가 포함되고 있다 InputStream 객체

_type

public TypeCode  _type()
ServiceInformationHolder 객체의 value 필드에 포함되고 있는 값에 대응하는 TypeCode 객체를 가져옵니다.

정의:
인터페이스 Streamable 내의 _type
반환값:
ServiceInformationHolder 객체에 포함되고 있는 값의 TypeCode

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.