JavaTM Platform
Standard Ed. 6

org.omg.CORBA
클래스 BooleanHolder

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


public final class BooleanHolder
extends Object
implements Streamable

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

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

myBooleanHolderBooleanHolder 의 인스턴스인 경우, 그 value 필드에 포함되고 있는 값은 myBooleanHolder.value 을 사용해 액세스 할 수 있습니다.

도입된 버젼:
JDK1. 2

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

필드의 상세

value

public boolean value
BooleanHolder 객체가 보관 유지하는 boolean 치입니다.

생성자 의 상세

BooleanHolder

public BooleanHolder()
value 필드를 false 에 초기화해, 새로운 BooleanHolder 객체를 구축합니다.


BooleanHolder

public BooleanHolder(boolean initial)
value 필드가 지정된 boolean 로 초기화해, 새로운 BooleanHolder 객체를 구축합니다.

파라미터:
initial - 새롭게 작성하는 BooleanHolder 객체의 value 필드의 초기화에 사용하는 boolean boolean
메소드의 상세

_read

public void _read(InputStream  input)
input 로부터 정렬화되어 있지 않은 데이터를 읽어들여,BooleanHolder 객체의 value 필드에 할당합니다.

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

_write

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

정의:
인터페이스 Streamable 내의 _write
파라미터:
output - CDR 형식의 데이터를 포함하는 OutputStream

_type

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

정의:
인터페이스 Streamable 내의 _type
반환값:
BooleanHolder 객체에 포함되고 있다 값의 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 도 참조해 주세요.