Initial commit from SVN.

This commit is contained in:
wcrisman
2014-05-30 10:31:51 -07:00
commit b45e56b890
1968 changed files with 370949 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
/*
* Copyright (c) 2005,2009 Declarative Engineering LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Declarative Engineering LLC
* verson 1 which accompanies this distribution, and is available at
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
*/
package com.de22.orb;
/**
* Holds a value and status information so that the orb can return extended information about a return value.
*/
class ValueHolder {
public static final int STATUS_OK = 0;
public static final int STATUS_TIMEOUT = 1;
public static final int STATUS_SOCKET_NOT_FOUND = 2;
public static final int STATUS_SOCKET_ERROR = 3;
public int status = 0;
public Object value = null;
/**
* ValueHolder constructor.
*/
ValueHolder() {
super();
}//ValueHolder()//
/**
* ValueHolder constructor.
*/
ValueHolder(Object value, int status) {
super();
this.value = value;
this.status = status;
}//ValueHolder()//
}//ValueHolder//