link start!
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package javax.baja.agent;
|
||||
|
||||
import javax.baja.registry.TypeInfo;
|
||||
import javax.baja.security.BPermissions;
|
||||
import javax.baja.sys.BIcon;
|
||||
import javax.baja.sys.BObject;
|
||||
import javax.baja.sys.Context;
|
||||
|
||||
public interface AgentInfo {
|
||||
String getAgentId();
|
||||
|
||||
TypeInfo[] getAgentOn();
|
||||
|
||||
TypeInfo getAgentType();
|
||||
|
||||
String getAppName();
|
||||
|
||||
String getDisplayName(Context context);
|
||||
|
||||
BIcon getIcon(Context context);
|
||||
|
||||
BObject getInstance();
|
||||
|
||||
BPermissions getRequiredPermissions();
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package javax.baja.agent;
|
||||
|
||||
public interface AgentList {
|
||||
void add(int i, String str);
|
||||
|
||||
void add(int i, AgentInfo agentInfo);
|
||||
|
||||
void add(String str);
|
||||
|
||||
void add(AgentInfo agentInfo);
|
||||
|
||||
Object clone();
|
||||
|
||||
AgentList filter(AgentFilter agentFilter);
|
||||
|
||||
AgentInfo get(int i);
|
||||
|
||||
AgentInfo get(String str);
|
||||
|
||||
AgentInfo getDefault();
|
||||
|
||||
int indexOf(String str);
|
||||
|
||||
int indexOf(AgentInfo agentInfo);
|
||||
|
||||
AgentInfo[] list();
|
||||
|
||||
void remove(int i);
|
||||
|
||||
void remove(String str);
|
||||
|
||||
void remove(AgentInfo agentInfo);
|
||||
|
||||
void remove(AgentList agentList);
|
||||
|
||||
int size();
|
||||
|
||||
void swap(int i, int i2);
|
||||
|
||||
void toBottom(int i);
|
||||
|
||||
void toBottom(String str);
|
||||
|
||||
void toBottom(AgentInfo agentInfo);
|
||||
|
||||
void toTop(int i);
|
||||
|
||||
void toTop(String str);
|
||||
|
||||
void toTop(AgentInfo agentInfo);
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package javax.baja.bacnet;
|
||||
|
||||
public interface BacnetAlarmConst {
|
||||
public static final String BAC_ACK_REQUIRED = "bacnetAcksRequired";
|
||||
public static final String BAC_ACK_TIME = "ackTime";
|
||||
public static final String BAC_ALARM_VALUES = "listOfLifeSafetyAlarmValues";
|
||||
public static final String BAC_BUFFER_DEVICE = "bufferDevice";
|
||||
public static final String BAC_BUFFER_OBJECT = "bufferObject";
|
||||
public static final String BAC_BUFFER_PROPERTY = "bufferProperty";
|
||||
public static final String BAC_CHANGED_BITS = "changedBits";
|
||||
public static final String BAC_CHANGED_VALUE = "changedValue";
|
||||
public static final String BAC_COMMAND_VALUE = "commandValue";
|
||||
public static final String BAC_COMPLEX_EVENT_VALUE = "complexEventValue";
|
||||
public static final String BAC_CONFIRMED_FLAG = "confirmed";
|
||||
public static final String BAC_CURRENT_NOTIFICATION = "currentNotification";
|
||||
public static final String BAC_DEADBAND = "deadband";
|
||||
public static final String BAC_DEST_PROC_ID_PREFIX = "procIdFor";
|
||||
public static final String BAC_DEVICE_ID = "deviceId";
|
||||
public static final String BAC_ERROR_LIMIT = "errorLimit";
|
||||
public static final String BAC_ESUM_ACKED_TRANSITIONS = "ackedTransitions";
|
||||
public static final String BAC_ESUM_EVENT_ENABLE = "eventEnable";
|
||||
public static final String BAC_ESUM_EVENT_PRIORITIES = "eventPriorities";
|
||||
public static final String BAC_ESUM_EVENT_STATE = "eventState";
|
||||
public static final String BAC_ESUM_EVENT_TIMESTAMPS = "eventTimeStamps";
|
||||
public static final String BAC_EVENT_TYPE = "eventType";
|
||||
public static final String BAC_EVENT_VALUES = "eventValues";
|
||||
public static final String BAC_EXCEEDED_LIMIT = "exceededLimit";
|
||||
public static final String BAC_EXCEEDING_VALUE = "exceedingValue";
|
||||
public static final String BAC_EXTENDED_EVENT_TYPE = "extendedEventType";
|
||||
public static final String BAC_FAULT_PRIORITY = "faultPriority";
|
||||
public static final String BAC_FEEDBACK_VALUE = "feedbackValue";
|
||||
public static final String BAC_HIGH_LIMIT = "highLimit";
|
||||
public static final String BAC_LIFE_SAFETY_ALARM_VALUES = "listOfLifeSafetyAlarmValues";
|
||||
public static final String BAC_LOW_LIMIT = "lowLimit";
|
||||
public static final String BAC_NEW_MODE = "newMode";
|
||||
public static final String BAC_NEW_STATE = "newState";
|
||||
public static final String BAC_NEW_VALUE = "newValue";
|
||||
public static final String BAC_NORMAL_PRIORITY = "normalPriority";
|
||||
public static final String BAC_NOTIFICATION_CLASS = "NC";
|
||||
public static final String BAC_NOTIFY_LIST = "bacNotify";
|
||||
public static final String BAC_NOTIFY_TYPE = "notifyType";
|
||||
public static final String BAC_OBJECT_ID = "objectId";
|
||||
public static final String BAC_OFFNORMAL_ACKED = "offnormalAcked";
|
||||
public static final String BAC_OFFNORMAL_PRIORITY = "offnormalPriority";
|
||||
public static final String BAC_OFFNORMAL_TO_STATE = "offnormalToState";
|
||||
public static final String BAC_OPERATION_EXPECTED = "operationExpected";
|
||||
public static final String BAC_PARAMETERS = "parameters";
|
||||
public static final String BAC_PREVIOUS_NOTIFICATION = "previousNotification";
|
||||
public static final String BAC_PRIORITY = "priority";
|
||||
public static final String BAC_PROCESS_ID = "processId";
|
||||
public static final String BAC_REFERENCED_BITSTRING = "referencedBitstring";
|
||||
public static final String BAC_REFERENCE_VALUE = "referenceValue";
|
||||
public static final String BAC_SETPOINT_VALUE = "setpointValue";
|
||||
public static final String BAC_STALE_ACK = "staleAck";
|
||||
public static final String BAC_STATE_ACKED = "stateAcked";
|
||||
public static final String BAC_STATUS_FLAGS = "statusFlags";
|
||||
public static final String BAC_TIMESTAMP = "BacnetTimestamp";
|
||||
public static final String BAC_TIME_DELAY = "timeDelay";
|
||||
public static final String BAC_VENDOR_ID = "vendorId";
|
||||
public static final int TO_FAULT_BIT = 2;
|
||||
public static final int TO_FAULT_INDEX = 1;
|
||||
public static final int TO_NORMAL_BIT = 1;
|
||||
public static final int TO_NORMAL_INDEX = 2;
|
||||
public static final int TO_OFFNORMAL_BIT = 4;
|
||||
public static final int TO_OFFNORMAL_INDEX = 0;
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
import javax.baja.bacnet.datatypes.BBacnetBitString;
|
||||
import javax.baja.bacnet.datatypes.BBacnetDate;
|
||||
import javax.baja.bacnet.datatypes.BBacnetNull;
|
||||
import javax.baja.bacnet.datatypes.BBacnetObjectIdentifier;
|
||||
import javax.baja.bacnet.datatypes.BBacnetOctetString;
|
||||
import javax.baja.bacnet.datatypes.BBacnetTime;
|
||||
import javax.baja.bacnet.datatypes.BBacnetUnsigned;
|
||||
import javax.baja.sys.BFloat;
|
||||
import javax.baja.sys.BInteger;
|
||||
|
||||
public interface AsnInput {
|
||||
public static final int END_OF_DATA = -1;
|
||||
|
||||
int available();
|
||||
|
||||
int getDataLength();
|
||||
|
||||
boolean isApplicationTag(int i);
|
||||
|
||||
boolean isClosingTag(int i);
|
||||
|
||||
boolean isContextTag(int i);
|
||||
|
||||
boolean isOpeningTag(int i);
|
||||
|
||||
boolean isValueTag(int i);
|
||||
|
||||
int peekApplicationTag() throws AsnException;
|
||||
|
||||
int peekTag() throws AsnException;
|
||||
|
||||
int read(byte[] bArr);
|
||||
|
||||
BBacnetOctetString readBacnetOctetString() throws AsnException;
|
||||
|
||||
BBacnetOctetString readBacnetOctetString(int i) throws AsnException;
|
||||
|
||||
BBacnetBitString readBitString() throws AsnException;
|
||||
|
||||
BBacnetBitString readBitString(int i) throws AsnException;
|
||||
|
||||
boolean readBoolean() throws AsnException;
|
||||
|
||||
boolean readBoolean(int i) throws AsnException;
|
||||
|
||||
String readCharacterString() throws AsnException;
|
||||
|
||||
String readCharacterString(int i) throws AsnException;
|
||||
|
||||
byte[] readContextTaggedData() throws AsnException;
|
||||
|
||||
BBacnetDate readDate() throws AsnException;
|
||||
|
||||
BBacnetDate readDate(int i) throws AsnException;
|
||||
|
||||
double readDouble() throws AsnException;
|
||||
|
||||
double readDouble(int i) throws AsnException;
|
||||
|
||||
byte[] readEncodedValue(int i) throws AsnException;
|
||||
|
||||
int readEnumerated() throws AsnException;
|
||||
|
||||
int readEnumerated(int i) throws AsnException;
|
||||
|
||||
BFloat readFloat() throws AsnException;
|
||||
|
||||
BFloat readFloat(int i) throws AsnException;
|
||||
|
||||
int readInteger() throws AsnException;
|
||||
|
||||
BBacnetNull readNull() throws AsnException;
|
||||
|
||||
BBacnetNull readNull(int i) throws AsnException;
|
||||
|
||||
BBacnetObjectIdentifier readObjectIdentifier() throws AsnException;
|
||||
|
||||
BBacnetObjectIdentifier readObjectIdentifier(int i) throws AsnException;
|
||||
|
||||
byte[] readOctetString() throws AsnException;
|
||||
|
||||
byte[] readOctetString(int i) throws AsnException;
|
||||
|
||||
float readReal() throws AsnException;
|
||||
|
||||
float readReal(int i) throws AsnException;
|
||||
|
||||
BInteger readSigned() throws AsnException;
|
||||
|
||||
BInteger readSigned(int i) throws AsnException;
|
||||
|
||||
int readSignedInteger() throws AsnException;
|
||||
|
||||
int readSignedInteger(int i) throws AsnException;
|
||||
|
||||
BBacnetTime readTime() throws AsnException;
|
||||
|
||||
BBacnetTime readTime(int i) throws AsnException;
|
||||
|
||||
BBacnetUnsigned readUnsigned() throws AsnException;
|
||||
|
||||
BBacnetUnsigned readUnsigned(int i) throws AsnException;
|
||||
|
||||
int readUnsignedInt() throws AsnException;
|
||||
|
||||
int readUnsignedInt(int i) throws AsnException;
|
||||
|
||||
long readUnsignedInteger() throws AsnException;
|
||||
|
||||
long readUnsignedInteger(int i) throws AsnException;
|
||||
|
||||
void skipClosingTag(int i) throws AsnException;
|
||||
|
||||
void skipOpeningTag(int i) throws AsnException;
|
||||
|
||||
int skipTag() throws AsnException;
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
import javax.baja.bacnet.datatypes.BBacnetBitString;
|
||||
import javax.baja.bacnet.datatypes.BBacnetDate;
|
||||
import javax.baja.bacnet.datatypes.BBacnetObjectIdentifier;
|
||||
import javax.baja.bacnet.datatypes.BBacnetOctetString;
|
||||
import javax.baja.bacnet.datatypes.BBacnetTime;
|
||||
import javax.baja.bacnet.datatypes.BBacnetUnsigned;
|
||||
import javax.baja.bacnet.enums.BCharacterSetEncoding;
|
||||
import javax.baja.sys.BAbsTime;
|
||||
import javax.baja.sys.BBoolean;
|
||||
import javax.baja.sys.BEnum;
|
||||
import javax.baja.sys.BInteger;
|
||||
import javax.baja.sys.BNumber;
|
||||
import javax.baja.sys.BString;
|
||||
import javax.baja.sys.BTime;
|
||||
|
||||
public interface AsnOutput {
|
||||
void write(byte[] bArr);
|
||||
|
||||
void writeBitString(int i, BBacnetBitString bBacnetBitString);
|
||||
|
||||
void writeBitString(int i, boolean[] zArr);
|
||||
|
||||
void writeBitString(BBacnetBitString bBacnetBitString);
|
||||
|
||||
void writeBitString(boolean[] zArr);
|
||||
|
||||
void writeBoolean(int i, BBoolean bBoolean);
|
||||
|
||||
void writeBoolean(int i, boolean z);
|
||||
|
||||
void writeBoolean(BBoolean bBoolean);
|
||||
|
||||
void writeBoolean(boolean z);
|
||||
|
||||
void writeCharacterString(int i, String str);
|
||||
|
||||
void writeCharacterString(int i, String str, BCharacterSetEncoding bCharacterSetEncoding);
|
||||
|
||||
void writeCharacterString(int i, BString bString);
|
||||
|
||||
void writeCharacterString(int i, BString bString, BCharacterSetEncoding bCharacterSetEncoding);
|
||||
|
||||
void writeCharacterString(String str);
|
||||
|
||||
void writeCharacterString(String str, BCharacterSetEncoding bCharacterSetEncoding);
|
||||
|
||||
void writeCharacterString(BString bString);
|
||||
|
||||
void writeCharacterString(BString bString, BCharacterSetEncoding bCharacterSetEncoding);
|
||||
|
||||
void writeClosingTag(int i);
|
||||
|
||||
void writeDate(int i, int i2, int i3, int i4);
|
||||
|
||||
void writeDate(int i, int i2, int i3, int i4, int i5);
|
||||
|
||||
void writeDate(int i, BBacnetDate bBacnetDate);
|
||||
|
||||
void writeDate(int i, BAbsTime bAbsTime);
|
||||
|
||||
void writeDate(BBacnetDate bBacnetDate);
|
||||
|
||||
void writeDate(BAbsTime bAbsTime);
|
||||
|
||||
void writeDouble(double d);
|
||||
|
||||
void writeDouble(int i, double d);
|
||||
|
||||
void writeDouble(int i, BNumber bNumber);
|
||||
|
||||
void writeDouble(BNumber bNumber);
|
||||
|
||||
void writeEncodedValue(int i, byte[] bArr);
|
||||
|
||||
void writeEncodedValue(byte[] bArr);
|
||||
|
||||
void writeEnumerated(int i);
|
||||
|
||||
void writeEnumerated(int i, int i2);
|
||||
|
||||
void writeEnumerated(int i, BEnum bEnum);
|
||||
|
||||
void writeEnumerated(BEnum bEnum);
|
||||
|
||||
void writeNull();
|
||||
|
||||
void writeNull(int i);
|
||||
|
||||
void writeObjectIdentifier(int i, int i2);
|
||||
|
||||
void writeObjectIdentifier(int i, int i2, int i3);
|
||||
|
||||
void writeObjectIdentifier(int i, BBacnetObjectIdentifier bBacnetObjectIdentifier);
|
||||
|
||||
void writeObjectIdentifier(BBacnetObjectIdentifier bBacnetObjectIdentifier);
|
||||
|
||||
void writeOctetString(int i, BBacnetOctetString bBacnetOctetString);
|
||||
|
||||
void writeOctetString(int i, byte[] bArr);
|
||||
|
||||
void writeOctetString(BBacnetOctetString bBacnetOctetString);
|
||||
|
||||
void writeOctetString(byte[] bArr);
|
||||
|
||||
void writeOpeningTag(int i);
|
||||
|
||||
void writeReal(double d);
|
||||
|
||||
void writeReal(int i, double d);
|
||||
|
||||
void writeReal(int i, BNumber bNumber);
|
||||
|
||||
void writeReal(BNumber bNumber);
|
||||
|
||||
void writeSignedInteger(int i);
|
||||
|
||||
void writeSignedInteger(int i, int i2);
|
||||
|
||||
void writeSignedInteger(int i, BInteger bInteger);
|
||||
|
||||
void writeSignedInteger(BInteger bInteger);
|
||||
|
||||
void writeTime(int i, int i2, int i3, int i4);
|
||||
|
||||
void writeTime(int i, int i2, int i3, int i4, int i5);
|
||||
|
||||
void writeTime(int i, BBacnetTime bBacnetTime);
|
||||
|
||||
void writeTime(int i, BAbsTime bAbsTime);
|
||||
|
||||
void writeTime(int i, BTime bTime);
|
||||
|
||||
void writeTime(BBacnetTime bBacnetTime);
|
||||
|
||||
void writeTime(BAbsTime bAbsTime);
|
||||
|
||||
void writeTime(BTime bTime);
|
||||
|
||||
void writeUnsigned(int i, BBacnetUnsigned bBacnetUnsigned);
|
||||
|
||||
void writeUnsigned(BBacnetUnsigned bBacnetUnsigned);
|
||||
|
||||
void writeUnsignedInteger(int i, long j);
|
||||
|
||||
void writeUnsignedInteger(long j);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
public interface BacnetServiceListener {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
public interface ChangeListError {
|
||||
public static final int ERROR_TYPE_TAG = 0;
|
||||
public static final int FIRST_FAILED_ELEMENT_NUMBER_TAG = 1;
|
||||
|
||||
long getFirstFailedElementNumber();
|
||||
|
||||
void readAsn(AsnInput asnInput) throws AsnException;
|
||||
|
||||
void writeAsn(AsnOutput asnOutput);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
public interface ErrorType {
|
||||
int getErrorClass();
|
||||
|
||||
int getErrorCode();
|
||||
|
||||
void readEncoded(AsnInput asnInput) throws AsnException;
|
||||
|
||||
void writeEncoded(AsnOutput asnOutput);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
import javax.baja.bacnet.datatypes.BBacnetAddress;
|
||||
import javax.baja.bacnet.datatypes.BBacnetObjectIdentifier;
|
||||
import javax.baja.bacnet.datatypes.BBacnetTimeStamp;
|
||||
import javax.baja.bacnet.enums.BBacnetNotifyType;
|
||||
import javax.baja.bacnet.enums.BCharacterSetEncoding;
|
||||
import javax.baja.sys.BEnum;
|
||||
|
||||
public interface EventNotificationListener extends BacnetServiceListener {
|
||||
void receiveConfirmedEventNotification(BBacnetAddress bBacnetAddress, long j, BBacnetObjectIdentifier bBacnetObjectIdentifier, BBacnetObjectIdentifier bBacnetObjectIdentifier2, BBacnetTimeStamp bBacnetTimeStamp, long j2, int i, BEnum bEnum, String str, BBacnetNotifyType bBacnetNotifyType, boolean z, BEnum bEnum2, BEnum bEnum3, byte[] bArr, BCharacterSetEncoding bCharacterSetEncoding);
|
||||
|
||||
void receiveUnconfirmedEventNotification(BBacnetAddress bBacnetAddress, long j, BBacnetObjectIdentifier bBacnetObjectIdentifier, BBacnetObjectIdentifier bBacnetObjectIdentifier2, BBacnetTimeStamp bBacnetTimeStamp, long j2, int i, BEnum bEnum, String str, BBacnetNotifyType bBacnetNotifyType, boolean z, BEnum bEnum2, BEnum bEnum3, byte[] bArr, BCharacterSetEncoding bCharacterSetEncoding);
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
import javax.baja.bacnet.datatypes.BBacnetOctetString;
|
||||
|
||||
public interface FileData {
|
||||
public static final int RECORD_ACCESS = 1;
|
||||
public static final int STREAM_ACCESS = 0;
|
||||
|
||||
int getAccessMethod();
|
||||
|
||||
byte[] getFileData();
|
||||
|
||||
BBacnetOctetString[] getFileRecordData();
|
||||
|
||||
int getFileStart();
|
||||
|
||||
long getRecordCount();
|
||||
|
||||
boolean isEndOfFile();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
import javax.baja.bacnet.BacnetException;
|
||||
import javax.baja.bacnet.datatypes.BBacnetAddress;
|
||||
|
||||
public interface PrivateTransferListener extends BacnetServiceListener {
|
||||
int getVendorId();
|
||||
|
||||
byte[] receiveConfirmedPrivateTransfer(long j, long j2, byte[] bArr, BBacnetAddress bBacnetAddress) throws BacnetException;
|
||||
|
||||
void receiveUnconfirmedPrivateTransfer(long j, long j2, byte[] bArr, BBacnetAddress bBacnetAddress) throws BacnetException;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
public interface PropertyReference {
|
||||
int getPropertyArrayIndex();
|
||||
|
||||
int getPropertyId();
|
||||
|
||||
void readAsn(AsnInput asnInput) throws AsnException;
|
||||
|
||||
void writeAsn(AsnOutput asnOutput);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
public interface PropertyValue {
|
||||
int getErrorClass();
|
||||
|
||||
int getErrorCode();
|
||||
|
||||
int getPriority();
|
||||
|
||||
ErrorType getPropertyAccessError();
|
||||
|
||||
int getPropertyArrayIndex();
|
||||
|
||||
int getPropertyId();
|
||||
|
||||
byte[] getPropertyValue();
|
||||
|
||||
boolean isError();
|
||||
|
||||
void readAsn(AsnInput asnInput) throws AsnException, RejectException;
|
||||
|
||||
void writeAsn(AsnOutput asnOutput);
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
import javax.baja.bacnet.datatypes.BBacnetBitString;
|
||||
|
||||
public interface RangeData extends PropertyReference {
|
||||
public static final int FIRST_SEQUENCE_NUMBER = 6;
|
||||
public static final int ITEM_COUNT = 4;
|
||||
public static final int ITEM_DATA = 7;
|
||||
public static final int ITEM_DATA_NO_SEQ_NUM = 5;
|
||||
public static final int RESULT_FLAGS = 3;
|
||||
|
||||
ErrorType getError();
|
||||
|
||||
int getErrorClass();
|
||||
|
||||
int getErrorCode();
|
||||
|
||||
long getFirstSequenceNumber();
|
||||
|
||||
long getItemCount();
|
||||
|
||||
byte[] getItemData();
|
||||
|
||||
BBacnetBitString getResultFlags();
|
||||
|
||||
boolean includesFirstItem();
|
||||
|
||||
boolean includesLastItem();
|
||||
|
||||
boolean isError();
|
||||
|
||||
boolean isMoreItems();
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package javax.baja.bacnet.io;
|
||||
|
||||
import javax.baja.bacnet.datatypes.BBacnetDateTime;
|
||||
|
||||
public interface RangeReference extends PropertyReference {
|
||||
public static final int BY_POSITION = 3;
|
||||
public static final int BY_SEQUENCE_NUMBER = 6;
|
||||
public static final int BY_TIME = 7;
|
||||
public static final int BY_TIME_DEPRECATED = 4;
|
||||
public static final int TIME_RANGE_DEPRECATED = 5;
|
||||
|
||||
int getCount();
|
||||
|
||||
int getRangeType();
|
||||
|
||||
long getReferenceIndex();
|
||||
|
||||
BBacnetDateTime getReferenceTime();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.bacnet.util.worker;
|
||||
|
||||
import javax.baja.bacnet.datatypes.BBacnetAddress;
|
||||
|
||||
public interface IBacnetAddress {
|
||||
BBacnetAddress getAddress();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.baja.bacnet.util.worker;
|
||||
|
||||
import javax.baja.util.IFuture;
|
||||
|
||||
public interface IWorkerPool {
|
||||
boolean isRunning();
|
||||
|
||||
IFuture post(Runnable runnable);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.bacnet.util.worker;
|
||||
|
||||
import javax.baja.util.Queue;
|
||||
|
||||
public interface IWorkerPoolAware {
|
||||
Queue getQueue();
|
||||
|
||||
String getWorkerThreadName();
|
||||
|
||||
boolean hasWorkerPool();
|
||||
|
||||
void stopWorker();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.batchJob;
|
||||
|
||||
import javax.baja.sys.Context;
|
||||
|
||||
public interface BatchJobOp extends Context {
|
||||
Object getAttribute(Object obj);
|
||||
|
||||
void removeAllAttributes();
|
||||
|
||||
Object removeAttribute(Object obj);
|
||||
|
||||
Object setAttribute(Object obj, Object obj2);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package javax.baja.batchJob;
|
||||
|
||||
import javax.baja.job.BJob;
|
||||
import javax.baja.sys.Context;
|
||||
|
||||
public interface IJobDispatcher {
|
||||
void cancel(BJob bJob, Context context);
|
||||
|
||||
void dispatch(BJob bJob, Context context);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package javax.baja.bql;
|
||||
|
||||
import javax.baja.naming.OrdTarget;
|
||||
import javax.baja.sys.BObject;
|
||||
|
||||
public interface Queryable {
|
||||
BObject bqlQuery(OrdTarget ordTarget, BqlQuery bqlQuery);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package javax.baja.bql;
|
||||
|
||||
import javax.baja.naming.BOrd;
|
||||
import javax.baja.sys.BObject;
|
||||
|
||||
public interface RemoteQueryable {
|
||||
BObject bqlQuery(BOrd bOrd);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.chart;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
|
||||
public interface SwatchRenderer {
|
||||
double getHeight();
|
||||
|
||||
double getWidth();
|
||||
|
||||
void paintSwatch(Series series, Graphics graphics, double d, double d2);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package javax.baja.collection;
|
||||
|
||||
import javax.baja.sys.BFacets;
|
||||
import javax.baja.sys.Context;
|
||||
import javax.baja.sys.Type;
|
||||
|
||||
public interface Column {
|
||||
String getDisplayName(Context context);
|
||||
|
||||
BFacets getFacets();
|
||||
|
||||
int getFlags();
|
||||
|
||||
String getName();
|
||||
|
||||
Type getType();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.collection;
|
||||
|
||||
public interface ColumnList {
|
||||
Column get(int i);
|
||||
|
||||
Column get(String str);
|
||||
|
||||
int indexOf(String str);
|
||||
|
||||
Column[] list();
|
||||
|
||||
int size();
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package javax.baja.collection;
|
||||
|
||||
import javax.baja.sys.BFacets;
|
||||
import javax.baja.sys.BObject;
|
||||
import javax.baja.sys.Cursor;
|
||||
|
||||
public interface TableCursor extends Cursor {
|
||||
BObject get(Column column);
|
||||
|
||||
boolean getBoolean(Column column);
|
||||
|
||||
double getDouble(Column column);
|
||||
|
||||
BFacets getFacets(Column column);
|
||||
|
||||
int getFlags(Column column);
|
||||
|
||||
float getFloat(Column column);
|
||||
|
||||
int getInt(Column column);
|
||||
|
||||
long getLong(Column column);
|
||||
|
||||
String getString(Column column);
|
||||
|
||||
BITable getTable();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.baja.dataRecovery;
|
||||
|
||||
public interface IDataRecoveryRecord {
|
||||
byte[] getData();
|
||||
|
||||
byte getDataRecoverySourceIdentifier();
|
||||
|
||||
byte[] getKey();
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface Graphics {
|
||||
void clip(double d, double d2, double d3, double d4);
|
||||
|
||||
void clip(IGeom iGeom);
|
||||
|
||||
void dispose();
|
||||
|
||||
void drawImage(BImage bImage, double d, double d2);
|
||||
|
||||
void drawString(String str, double d, double d2);
|
||||
|
||||
void drawString(char[] cArr, int i, int i2, double d, double d2);
|
||||
|
||||
void fill(IGeom iGeom);
|
||||
|
||||
void fillRect(double d, double d2, double d3, double d4);
|
||||
|
||||
BBrush getBrush();
|
||||
|
||||
IGeom getClip();
|
||||
|
||||
IRectGeom getClipBounds();
|
||||
|
||||
BFont getFont();
|
||||
|
||||
BPen getPen();
|
||||
|
||||
void pop();
|
||||
|
||||
void push();
|
||||
|
||||
void setBrush(BBrush bBrush);
|
||||
|
||||
void setBrush(BColor bColor);
|
||||
|
||||
void setFont(BFont bFont);
|
||||
|
||||
void setPen(BPen bPen);
|
||||
|
||||
void stroke(IGeom iGeom);
|
||||
|
||||
void strokeLine(double d, double d2, double d3, double d4);
|
||||
|
||||
void strokeRect(double d, double d2, double d3, double d4);
|
||||
|
||||
void transform(BTransform bTransform);
|
||||
|
||||
void translate(double d, double d2);
|
||||
|
||||
void useAntiAliasing(boolean z);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IEllipseGeom extends IGeom {
|
||||
double height();
|
||||
|
||||
double width();
|
||||
|
||||
double x();
|
||||
|
||||
double y();
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IGeom {
|
||||
public static final int ELLIPSE = 3;
|
||||
public static final int LINE = 1;
|
||||
public static final int PATH = 5;
|
||||
public static final int POLYGON = 4;
|
||||
public static final int RECT = 2;
|
||||
|
||||
IRectGeom bounds();
|
||||
|
||||
boolean contains(double d, double d2);
|
||||
|
||||
boolean contains(double d, double d2, double d3, double d4);
|
||||
|
||||
boolean contains(IGeom iGeom);
|
||||
|
||||
Object fw(int i, Object obj, Object obj2, Object obj3, Object obj4);
|
||||
|
||||
int getGeomCase();
|
||||
|
||||
IGeom intersection(double d, double d2, double d3, double d4);
|
||||
|
||||
IGeom intersection(IGeom iGeom);
|
||||
|
||||
boolean intersects(double d, double d2, double d3, double d4);
|
||||
|
||||
boolean intersects(IGeom iGeom);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IInsets {
|
||||
double bottom();
|
||||
|
||||
double left();
|
||||
|
||||
double right();
|
||||
|
||||
double top();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface ILineGeom extends IGeom {
|
||||
double x1();
|
||||
|
||||
double x2();
|
||||
|
||||
double y1();
|
||||
|
||||
double y2();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IPoint {
|
||||
double x();
|
||||
|
||||
double y();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IPolygonGeom extends IGeom {
|
||||
int size();
|
||||
|
||||
double x(int i);
|
||||
|
||||
double[] x();
|
||||
|
||||
double y(int i);
|
||||
|
||||
double[] y();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IRectGeom extends IGeom {
|
||||
double height();
|
||||
|
||||
double width();
|
||||
|
||||
double x();
|
||||
|
||||
double y();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface ISize {
|
||||
double height();
|
||||
|
||||
double width();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.history;
|
||||
|
||||
public interface HistoryEventListener {
|
||||
void historyEvent(BHistoryEvent bHistoryEvent);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.history;
|
||||
|
||||
public interface ITruncatable {
|
||||
boolean truncate(int i);
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package javax.baja.io.net;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.InetAddress;
|
||||
import java.net.Socket;
|
||||
import java.net.UnknownHostException;
|
||||
|
||||
public interface IClientSocketFactory {
|
||||
Socket createSocket(String str, int i) throws IOException, UnknownHostException;
|
||||
|
||||
Socket createSocket(String str, int i, int i2) throws IOException, UnknownHostException;
|
||||
|
||||
Socket createSocket(String str, int i, InetAddress inetAddress, int i2) throws IOException, UnknownHostException;
|
||||
|
||||
Socket createSocket(InetAddress inetAddress, int i) throws IOException;
|
||||
|
||||
Socket createSocket(InetAddress inetAddress, int i, int i2) throws IOException;
|
||||
|
||||
Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress2, int i2) throws IOException;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.io.net;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.InetAddress;
|
||||
import java.net.ServerSocket;
|
||||
|
||||
public interface IServerSocketFactory {
|
||||
ServerSocket createServerSocket(int i) throws IOException;
|
||||
|
||||
ServerSocket createServerSocket(int i, int i2) throws IOException;
|
||||
|
||||
ServerSocket createServerSocket(int i, int i2, InetAddress inetAddress) throws IOException;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package javax.baja.io.net;
|
||||
|
||||
public interface ISocketFactory extends IClientSocketFactory, IServerSocketFactory {
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package javax.baja.license;
|
||||
|
||||
public interface Feature {
|
||||
void check() throws FeatureNotLicensedException;
|
||||
|
||||
String get(String str);
|
||||
|
||||
String get(String str, String str2);
|
||||
|
||||
long getExpiration();
|
||||
|
||||
String getFeatureName();
|
||||
|
||||
String getVendorName();
|
||||
|
||||
boolean getb(String str, boolean z);
|
||||
|
||||
int geti(String str, int i);
|
||||
|
||||
boolean isExpired();
|
||||
|
||||
String[] list();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.baja.license;
|
||||
|
||||
public interface LicenseManager {
|
||||
Feature checkFeature(String str, String str2) throws FeatureNotLicensedException, LicenseDatabaseException;
|
||||
|
||||
Feature getFeature(String str, String str2) throws FeatureNotLicensedException, LicenseDatabaseException;
|
||||
|
||||
Feature[] getFeatures() throws LicenseDatabaseException;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.log;
|
||||
|
||||
public interface LogHandler {
|
||||
void publish(LogRecord logRecord);
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package javax.baja.lonworks;
|
||||
|
||||
import javax.baja.lonworks.datatypes.BSubnetNode;
|
||||
import javax.baja.lonworks.datatypes.LonAddress;
|
||||
|
||||
public interface LonComm {
|
||||
BLonNetwork lonNetwork();
|
||||
|
||||
void registerLonListener(LonListener lonListener, int i, BSubnetNode bSubnetNode, Class cls);
|
||||
|
||||
void sendAcked(LonAddress lonAddress, LonMessage lonMessage) throws LonException;
|
||||
|
||||
LonMessage sendRequest(LonAddress lonAddress, LonMessage lonMessage) throws LonException;
|
||||
|
||||
void sendResponse(LonMessage lonMessage, LonMessage lonMessage2);
|
||||
|
||||
void sendUnackRepeat(LonAddress lonAddress, LonMessage lonMessage) throws LonException;
|
||||
|
||||
void sendUnacknowledged(LonAddress lonAddress, LonMessage lonMessage) throws LonException;
|
||||
|
||||
void unregisterLonListener(LonListener lonListener, int i, BSubnetNode bSubnetNode);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.lonworks;
|
||||
|
||||
public interface LonListener {
|
||||
void receiveLonMessage(LonMessage lonMessage);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package javax.baja.lonworks.datatypes;
|
||||
|
||||
public interface LonAddress {
|
||||
public static final int BROADCAST = 3;
|
||||
public static final int IMPLICIT = 126;
|
||||
public static final int LOCAL = 127;
|
||||
public static final int NEURON_ID = 2;
|
||||
public static final int SUBNET_NODE = 1;
|
||||
public static final int UNASSIGNED = 0;
|
||||
|
||||
int getAddressType();
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package javax.baja.lonworks.io;
|
||||
|
||||
public interface AppBuffer {
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.lonworks.io;
|
||||
|
||||
public interface LonLinkLayer {
|
||||
void sendLonMessage(AppBuffer appBuffer);
|
||||
|
||||
void start() throws Exception;
|
||||
|
||||
void stop();
|
||||
|
||||
void verifySettings() throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package javax.baja.naming;
|
||||
|
||||
public interface OrdQuery {
|
||||
String getBody();
|
||||
|
||||
String getScheme();
|
||||
|
||||
boolean isHost();
|
||||
|
||||
boolean isSession();
|
||||
|
||||
void normalize(OrdQueryList ordQueryList, int i);
|
||||
|
||||
String toString();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.naming;
|
||||
|
||||
public interface Path {
|
||||
int depth();
|
||||
|
||||
String[] getNames();
|
||||
|
||||
Path getParentPath();
|
||||
|
||||
String nameAt(int i);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.nav;
|
||||
|
||||
public interface NavListener {
|
||||
void navEvent(NavEvent navEvent);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.platform;
|
||||
|
||||
import javax.baja.file.BIFile;
|
||||
|
||||
public interface BackupManager {
|
||||
void backup(BIFile bIFile, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.platform;
|
||||
|
||||
public interface DaemonSecurityManager {
|
||||
void useOsGroups(String str, String str2) throws Exception;
|
||||
|
||||
void useSingleAdminAccount(String str, String str2) throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package javax.baja.platform;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.ConnectException;
|
||||
import javax.baja.file.BFileSpace;
|
||||
import javax.baja.security.AuthenticationException;
|
||||
|
||||
public interface FileManager {
|
||||
BFileSpace getFileSpace() throws ConnectException, AuthenticationException;
|
||||
|
||||
void transfer(FileTransferOperation fileTransferOperation, IPlatformOperationListener iPlatformOperationListener) throws ConnectException, AuthenticationException, IOException;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package javax.baja.platform;
|
||||
|
||||
import javax.baja.file.BIFile;
|
||||
import javax.baja.platform.install.InstallationSummary;
|
||||
import javax.baja.platform.install.PlatformPart;
|
||||
|
||||
public interface InstallManager {
|
||||
InstallationSummary checkInstall(InstallOperation installOperation, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
PlatformPart[] getPlatformParts(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void install(InstallOperation installOperation, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void registerInstallableFile(BIFile bIFile, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.platform;
|
||||
|
||||
import javax.baja.file.BIFile;
|
||||
|
||||
public interface PlatformLicenseManager {
|
||||
String getHostId() throws Exception;
|
||||
|
||||
BIFile[] getLicenses() throws Exception;
|
||||
|
||||
void installLicenses(BIFile[] bIFileArr, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package javax.baja.platform;
|
||||
|
||||
import java.net.ConnectException;
|
||||
import javax.baja.file.BDirectory;
|
||||
import javax.baja.naming.BOrd;
|
||||
import javax.baja.security.AuthenticationException;
|
||||
|
||||
public interface RemoteStation {
|
||||
boolean canRestart() throws Exception;
|
||||
|
||||
boolean canStart() throws Exception;
|
||||
|
||||
void delete(IPlatformOperationListener iPlatformOperationListener) throws ConnectException, AuthenticationException;
|
||||
|
||||
BOrd getFoxOrd();
|
||||
|
||||
String getName();
|
||||
|
||||
BStationStatus getStatus();
|
||||
|
||||
void killAsync() throws ConnectException, AuthenticationException;
|
||||
|
||||
void makeLocalCopy(BDirectory bDirectory, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void poll() throws Exception;
|
||||
|
||||
void rename(String str, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void restartAsync() throws Exception;
|
||||
|
||||
void save(IPlatformOperationListener iPlatformOperationListener) throws ConnectException, AuthenticationException;
|
||||
|
||||
void saveAsync() throws ConnectException, AuthenticationException;
|
||||
|
||||
void start(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void startAsync() throws Exception;
|
||||
|
||||
void stop(IPlatformOperationListener iPlatformOperationListener) throws ConnectException, AuthenticationException;
|
||||
|
||||
void stopAsync() throws ConnectException, AuthenticationException;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package javax.baja.platform;
|
||||
|
||||
import java.net.ConnectException;
|
||||
import javax.baja.file.BDirectory;
|
||||
import javax.baja.security.AuthenticationException;
|
||||
|
||||
public interface StationManager {
|
||||
RemoteStation createStation(BDirectory bDirectory, String str, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
RemoteStation[] getAllStations() throws Exception;
|
||||
|
||||
RemoteStation getStation(String str) throws Exception;
|
||||
|
||||
void rebootAsync() throws ConnectException, AuthenticationException;
|
||||
|
||||
void rebootSync(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
RemoteStation[] stopAllStations(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package javax.baja.platform.install;
|
||||
|
||||
import javax.baja.file.BIFile;
|
||||
|
||||
public interface InstallationSummary {
|
||||
boolean canInstall();
|
||||
|
||||
BIFile[] getExcludedFiles();
|
||||
|
||||
BIFile[] getFilesToInstall();
|
||||
|
||||
String[] getModulesToUninstall();
|
||||
|
||||
PlatformDependency[] getUnmetDependencies();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.platform.install;
|
||||
|
||||
public interface PlatformDependency {
|
||||
PlatformPart getPartPrototype();
|
||||
|
||||
BVersionRelation getVersionRelation();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.platform.install;
|
||||
|
||||
import javax.baja.util.Version;
|
||||
|
||||
public interface PlatformPart {
|
||||
String getPartName();
|
||||
|
||||
BPlatformPartType getPartType();
|
||||
|
||||
Version getPartVersion();
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package javax.baja.platform.tcpip;
|
||||
|
||||
public interface TcpIpManager {
|
||||
void enableDhcp(String str, boolean z);
|
||||
|
||||
String[] getAdapterIds();
|
||||
|
||||
String getDefaultGateway(String str);
|
||||
|
||||
int getDnsServerLimit(String str);
|
||||
|
||||
String[] getDnsServers(String str);
|
||||
|
||||
String getDomain(String str);
|
||||
|
||||
String getHostName();
|
||||
|
||||
String getIpAddress(String str);
|
||||
|
||||
String getMediaAccessControlAddress(String str);
|
||||
|
||||
String getSubnetMask(String str);
|
||||
|
||||
boolean isDhcpEnabled(String str);
|
||||
|
||||
void saveProperties();
|
||||
|
||||
void setDefaultGateway(String str, String str2) throws IllegalStateException;
|
||||
|
||||
void setDnsServers(String str, String[] strArr);
|
||||
|
||||
void setDomain(String str, String str2);
|
||||
|
||||
void setHostName(String str);
|
||||
|
||||
void setIpAddress(String str, String str2);
|
||||
|
||||
void setSubnetMask(String str, String str2);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package javax.baja.platform.time;
|
||||
|
||||
public interface TimeManager {
|
||||
String getLocale();
|
||||
|
||||
boolean isTimeZoneSupported(String str);
|
||||
|
||||
void saveProperties();
|
||||
|
||||
boolean setLocale(String str);
|
||||
|
||||
boolean setTimeZone(String str);
|
||||
|
||||
boolean setTimeZone(String str, boolean z);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.provisioningNiagara.backup;
|
||||
|
||||
import javax.baja.batchJob.driver.BDeviceStepDetails;
|
||||
import javax.baja.driver.BDevice;
|
||||
import javax.baja.naming.BOrd;
|
||||
|
||||
public interface ProvisioningBackupManager {
|
||||
BOrd getBackupFileOrd(BDeviceStepDetails bDeviceStepDetails) throws Exception;
|
||||
|
||||
BDeviceStepDetails[] listBackupStepDetails(BDevice bDevice) throws Exception;
|
||||
|
||||
BOrd startRestoreJob(BDeviceStepDetails bDeviceStepDetails) throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package javax.baja.provisioningNiagara.station;
|
||||
|
||||
import javax.baja.fox.BFoxProxySession;
|
||||
import javax.baja.platform.BStationStatus;
|
||||
import javax.baja.platform.ICancelHint;
|
||||
import javax.baja.platform.IPlatformOperationListener;
|
||||
import javax.baja.platform.PlatformDaemon;
|
||||
import javax.baja.sys.Context;
|
||||
|
||||
public interface ProvisioningStationManager {
|
||||
boolean canReboot();
|
||||
|
||||
boolean canRestart();
|
||||
|
||||
boolean canStart();
|
||||
|
||||
BFoxProxySession getFoxSession() throws Exception;
|
||||
|
||||
PlatformDaemon getPlatformDaemon() throws Exception;
|
||||
|
||||
BStationStatus getStationStatus();
|
||||
|
||||
void killStation(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void killStationAsync() throws Exception;
|
||||
|
||||
void poll(ICancelHint iCancelHint, Context context) throws Exception;
|
||||
|
||||
void rebootHost() throws Exception;
|
||||
|
||||
void restartStationAsync() throws Exception;
|
||||
|
||||
void saveStation(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void saveStationAsync() throws Exception;
|
||||
|
||||
void startStation(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void startStationAsync() throws Exception;
|
||||
|
||||
void stopStation(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
||||
|
||||
void stopStationAsync() throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package javax.baja.px.editor;
|
||||
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface PxEditorSelection {
|
||||
void deselect(BWidget bWidget);
|
||||
|
||||
void deselectAll();
|
||||
|
||||
BWidget[] getWidgets();
|
||||
|
||||
boolean isSelected(BWidget bWidget);
|
||||
|
||||
void select(BWidget bWidget);
|
||||
|
||||
void setWidgets(BWidget[] bWidgetArr);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.px.editor.event;
|
||||
|
||||
public interface PxListener {
|
||||
void pxEvent(PxEvent pxEvent);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.baja.rdb;
|
||||
|
||||
public interface RdbmsContext {
|
||||
boolean supportsClusteredIndex();
|
||||
|
||||
boolean supportsDropColumn();
|
||||
|
||||
boolean supportsRenameTable();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.rdb.ddl;
|
||||
|
||||
import javax.baja.rdb.RdbmsContext;
|
||||
|
||||
public interface DdlCommand {
|
||||
String getDdl(RdbmsContext rdbmsContext);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.util.Version;
|
||||
|
||||
public interface DependencyInfo {
|
||||
Version getBajaVersion();
|
||||
|
||||
ModuleInfo getModuleInfo();
|
||||
|
||||
String getModuleName();
|
||||
|
||||
String getVendor();
|
||||
|
||||
Version getVendorVersion();
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.sys.BAbsTime;
|
||||
|
||||
public interface LexiconInfo {
|
||||
String getBrandPattern();
|
||||
|
||||
String getContainerModuleName();
|
||||
|
||||
String getLanguage();
|
||||
|
||||
BAbsTime getLastModified();
|
||||
|
||||
String getModuleName();
|
||||
|
||||
String getResourcePath();
|
||||
|
||||
boolean isDefault();
|
||||
|
||||
void setLastModified(long j);
|
||||
|
||||
void setLastModified(BAbsTime bAbsTime);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.util.Version;
|
||||
|
||||
public interface ModuleInfo {
|
||||
Version getBajaVersion();
|
||||
|
||||
DependencyInfo[] getDependencies();
|
||||
|
||||
String getDescription();
|
||||
|
||||
String getModuleName();
|
||||
|
||||
TypeInfo[] getTypes();
|
||||
|
||||
String getVendor();
|
||||
|
||||
Version getVendorVersion();
|
||||
|
||||
boolean isTransient();
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.agent.AgentInfo;
|
||||
import javax.baja.agent.AgentList;
|
||||
import javax.baja.naming.UnknownSchemeException;
|
||||
import javax.baja.sys.BAbsTime;
|
||||
import javax.baja.sys.BModule;
|
||||
import javax.baja.sys.ModuleNotFoundException;
|
||||
import javax.baja.sys.Type;
|
||||
import javax.baja.sys.TypeNotFoundException;
|
||||
import javax.baja.util.BTypeSpec;
|
||||
import javax.baja.util.Version;
|
||||
|
||||
public interface Registry {
|
||||
TypeInfo[] getAdapters(TypeInfo typeInfo, TypeInfo typeInfo2);
|
||||
|
||||
AgentList getAgents(TypeInfo typeInfo);
|
||||
|
||||
TypeInfo[] getConcreteTypes(TypeInfo typeInfo);
|
||||
|
||||
String getDef(String str);
|
||||
|
||||
String getDef(String str, String str2);
|
||||
|
||||
String[] getDefs();
|
||||
|
||||
String[] getDefs(String str);
|
||||
|
||||
String[] getFileExtensions();
|
||||
|
||||
String[] getFileExtensions(TypeInfo typeInfo);
|
||||
|
||||
TypeInfo getFileTypeForExtension(String str);
|
||||
|
||||
BAbsTime getLastBuildTime();
|
||||
|
||||
LexiconInfo getLexicon(String str, String str2, String str3);
|
||||
|
||||
LexiconInfo[] getLexicons();
|
||||
|
||||
LexiconInfo[] getLexicons(String str);
|
||||
|
||||
LexiconInfo[] getLexicons(String str, String str2);
|
||||
|
||||
ModuleInfo getModule(String str) throws ModuleNotFoundException;
|
||||
|
||||
ModuleInfo[] getModules();
|
||||
|
||||
TypeInfo getOrdScheme(String str) throws UnknownSchemeException;
|
||||
|
||||
String[] getOrdSchemes();
|
||||
|
||||
AgentList getSpecificAgents(TypeInfo typeInfo);
|
||||
|
||||
TypeInfo getType(String str) throws TypeNotFoundException;
|
||||
|
||||
TypeInfo[] getTypes();
|
||||
|
||||
TypeInfo[] getTypes(TypeInfo typeInfo);
|
||||
|
||||
boolean isAgent(TypeInfo typeInfo, TypeInfo typeInfo2);
|
||||
|
||||
boolean isOrdScheme(String str);
|
||||
|
||||
boolean isSpecificAgent(TypeInfo typeInfo, TypeInfo typeInfo2);
|
||||
|
||||
BModule synthesizeModule(String str, Version version, String str2, Version version2, String str3);
|
||||
|
||||
Type synthesizeType(BTypeSpec bTypeSpec, String str, TypeInfo typeInfo, TypeInfo[] typeInfoArr, AgentInfo[] agentInfoArr, boolean z, boolean z2);
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.agent.AgentInfo;
|
||||
import javax.baja.agent.AgentList;
|
||||
import javax.baja.sys.BIcon;
|
||||
import javax.baja.sys.BObject;
|
||||
import javax.baja.sys.Context;
|
||||
import javax.baja.sys.Type;
|
||||
import javax.baja.util.BTypeSpec;
|
||||
import javax.baja.util.Lexicon;
|
||||
|
||||
public interface TypeInfo {
|
||||
AgentInfo getAgentInfo();
|
||||
|
||||
AgentList getAgents();
|
||||
|
||||
String getDisplayName(Context context);
|
||||
|
||||
BIcon getIcon(Context context);
|
||||
|
||||
BObject getInstance();
|
||||
|
||||
TypeInfo[] getInterfaces();
|
||||
|
||||
Lexicon getLexicon(Context context);
|
||||
|
||||
String getModuleName();
|
||||
|
||||
TypeInfo getSuperType();
|
||||
|
||||
String getTypeClassName();
|
||||
|
||||
String getTypeName();
|
||||
|
||||
BTypeSpec getTypeSpec();
|
||||
|
||||
boolean is(TypeInfo typeInfo);
|
||||
|
||||
boolean is(Type type);
|
||||
|
||||
boolean isAbstract();
|
||||
|
||||
boolean isFinal();
|
||||
|
||||
boolean isInterface();
|
||||
|
||||
boolean isTransient();
|
||||
|
||||
String toString();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.security;
|
||||
|
||||
public interface Auditor {
|
||||
void audit(AuditEvent auditEvent);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.security;
|
||||
|
||||
public interface AuthenticationRealm {
|
||||
String getAuthenticationRealmName();
|
||||
|
||||
String getAuthenticationScheme();
|
||||
|
||||
BICredentials getCredentials();
|
||||
|
||||
BICredentials makeCredentials();
|
||||
|
||||
void setCredentials(BICredentials bICredentials);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.security;
|
||||
|
||||
public interface DigestFactory {
|
||||
byte[] getNonce();
|
||||
|
||||
byte[] makeDigest(String str, String str2);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package javax.baja.security.crypto;
|
||||
|
||||
import javax.baja.io.net.IClientSocketFactory;
|
||||
import javax.baja.io.net.IServerSocketFactory;
|
||||
|
||||
public interface ICryptoManager {
|
||||
IClientSocketFactory getClientSocketFactory(BSslTlsEnum bSslTlsEnum) throws Exception;
|
||||
|
||||
String getClientSocketFactoryClass(BSslTlsEnum bSslTlsEnum) throws Exception;
|
||||
|
||||
IKeyStore getKeyStore() throws Exception;
|
||||
|
||||
IServerSocketFactory getServerSocketFactory(BSslTlsEnum bSslTlsEnum, boolean z, String str) throws Exception;
|
||||
|
||||
IKeyStore getTrustStore() throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package javax.baja.security.crypto;
|
||||
|
||||
import javax.baja.io.net.IClientSocketFactory;
|
||||
import javax.baja.io.net.IServerSocketFactory;
|
||||
|
||||
public interface ICryptoManagerEx extends ICryptoManager {
|
||||
IClientSocketFactory getClientSocketFactory(String str) throws Exception;
|
||||
|
||||
String getClientSocketFactoryClass(String str) throws Exception;
|
||||
|
||||
IServerSocketFactory getServerSocketFactory(String str, boolean z, String str2) throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package javax.baja.security.crypto;
|
||||
|
||||
import java.security.Key;
|
||||
import java.security.cert.X509Certificate;
|
||||
import java.util.Date;
|
||||
import java.util.Enumeration;
|
||||
|
||||
public interface IKeyStore {
|
||||
Enumeration aliases() throws Exception;
|
||||
|
||||
boolean containsAlias(String str) throws Exception;
|
||||
|
||||
void deleteEntries(String[] strArr) throws Exception;
|
||||
|
||||
void deleteEntry(String str) throws Exception;
|
||||
|
||||
String findCertificate(X509Certificate x509Certificate) throws Exception;
|
||||
|
||||
X509Certificate getCertificate(String str) throws Exception;
|
||||
|
||||
String getCertificateAlias(X509Certificate x509Certificate) throws Exception;
|
||||
|
||||
X509Certificate[] getCertificateChain(String str) throws Exception;
|
||||
|
||||
Enumeration getCertificates() throws Exception;
|
||||
|
||||
Date getCreationDate(String str) throws Exception;
|
||||
|
||||
Key getKey(String str, char[] cArr) throws Exception;
|
||||
|
||||
boolean isCertificateEntry(String str) throws Exception;
|
||||
|
||||
boolean isKeyEntry(String str) throws Exception;
|
||||
|
||||
void save() throws Exception;
|
||||
|
||||
void setCertificateEntry(String str, X509Certificate x509Certificate) throws Exception;
|
||||
|
||||
void setKeyEntry(String str, Key key, char[] cArr, X509Certificate[] x509CertificateArr) throws Exception;
|
||||
|
||||
void setKeyEntry(String str, byte[] bArr, X509Certificate[] x509CertificateArr) throws Exception;
|
||||
|
||||
int size() throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package javax.baja.seriestransform.graph;
|
||||
|
||||
import javax.baja.sys.BValue;
|
||||
|
||||
public interface GraphNodeParams {
|
||||
boolean containsSlotName(String str);
|
||||
|
||||
BValue get(String str);
|
||||
|
||||
BValue get(String str, BValue bValue);
|
||||
|
||||
String[] getSlotNames();
|
||||
|
||||
boolean isEmpty();
|
||||
|
||||
int size();
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package javax.baja.seriestransform.graph;
|
||||
|
||||
import javax.baja.naming.SlotPath;
|
||||
import javax.baja.sys.BValue;
|
||||
|
||||
public interface QueryParams {
|
||||
boolean containsSlotPath(SlotPath slotPath);
|
||||
|
||||
BValue get(SlotPath slotPath);
|
||||
|
||||
SlotPath[] getSlotPaths();
|
||||
|
||||
boolean isEmpty();
|
||||
|
||||
int size();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.spy;
|
||||
|
||||
public interface ISpyDir {
|
||||
Spy find(String str);
|
||||
|
||||
String[] list();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Action extends Slot {
|
||||
BValue getParameterDefault();
|
||||
|
||||
Type getParameterType();
|
||||
|
||||
Type getReturnType();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Cursor {
|
||||
BObject get();
|
||||
|
||||
Context getContext();
|
||||
|
||||
boolean next();
|
||||
|
||||
boolean next(Class cls);
|
||||
|
||||
boolean nextComponent();
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
import javax.baja.naming.BOrd;
|
||||
|
||||
public interface Knob {
|
||||
BLink getLink();
|
||||
|
||||
BComponent getSourceComponent();
|
||||
|
||||
BOrd getSourceOrd();
|
||||
|
||||
Slot getSourceSlot();
|
||||
|
||||
String getSourceSlotName();
|
||||
|
||||
BComponent getTargetComponent();
|
||||
|
||||
BOrd getTargetOrd();
|
||||
|
||||
Slot getTargetSlot();
|
||||
|
||||
String getTargetSlotName();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Localizable {
|
||||
String toString(Context context);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Property extends Slot {
|
||||
BValue getDefaultValue();
|
||||
|
||||
Type getType();
|
||||
|
||||
int getTypeAccess();
|
||||
|
||||
boolean isEquivalentToDefaultValue(BValue bValue);
|
||||
|
||||
boolean isTypeFinal();
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Slot {
|
||||
public static final int BOBJECT_TYPE = 7;
|
||||
public static final int BOOLEAN_TYPE = 0;
|
||||
public static final int DOUBLE_TYPE = 5;
|
||||
public static final int FLOAT_TYPE = 4;
|
||||
public static final int INT_TYPE = 2;
|
||||
public static final int LONG_TYPE = 3;
|
||||
public static final int STRING_TYPE = 6;
|
||||
|
||||
Action asAction();
|
||||
|
||||
Property asProperty();
|
||||
|
||||
Topic asTopic();
|
||||
|
||||
boolean equals(Object obj);
|
||||
|
||||
Type getDeclaringType();
|
||||
|
||||
String getDefaultDisplayName(Context context);
|
||||
|
||||
int getDefaultFlags();
|
||||
|
||||
BFacets getFacets();
|
||||
|
||||
String getName();
|
||||
|
||||
boolean isAction();
|
||||
|
||||
boolean isDynamic();
|
||||
|
||||
boolean isFrozen();
|
||||
|
||||
boolean isProperty();
|
||||
|
||||
boolean isTopic();
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface SlotCursor extends Cursor {
|
||||
Action action();
|
||||
|
||||
boolean getBoolean();
|
||||
|
||||
double getDouble();
|
||||
|
||||
float getFloat();
|
||||
|
||||
int getInt();
|
||||
|
||||
long getLong();
|
||||
|
||||
String getString();
|
||||
|
||||
int getTypeAccess();
|
||||
|
||||
boolean nextObject();
|
||||
|
||||
Property property();
|
||||
|
||||
Slot slot();
|
||||
|
||||
BObject target();
|
||||
|
||||
Topic topic();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Topic extends Slot {
|
||||
Type getEventType();
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
import javax.baja.registry.TypeInfo;
|
||||
import javax.baja.util.BTypeSpec;
|
||||
|
||||
public interface Type {
|
||||
char getDataTypeSymbol();
|
||||
|
||||
String getDisplayName(Context context);
|
||||
|
||||
int getId();
|
||||
|
||||
BObject getInstance();
|
||||
|
||||
Type[] getInterfaces();
|
||||
|
||||
BModule getModule();
|
||||
|
||||
Type getSuperType();
|
||||
|
||||
Class getTypeClass();
|
||||
|
||||
TypeInfo getTypeInfo();
|
||||
|
||||
String getTypeName();
|
||||
|
||||
BTypeSpec getTypeSpec();
|
||||
|
||||
boolean is(TypeInfo typeInfo);
|
||||
|
||||
boolean is(Type type);
|
||||
|
||||
boolean isAbstract();
|
||||
|
||||
boolean isDataType();
|
||||
|
||||
boolean isInterface();
|
||||
|
||||
boolean isTransient();
|
||||
|
||||
String toString();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.ui;
|
||||
|
||||
public interface CommandArtifact {
|
||||
void redo() throws Exception;
|
||||
|
||||
void undo() throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package javax.baja.ui.options;
|
||||
|
||||
import javax.baja.registry.TypeInfo;
|
||||
import javax.baja.sys.Type;
|
||||
|
||||
public interface OptionsManager {
|
||||
BOptions load(String str, Type type);
|
||||
|
||||
BOptions load(TypeInfo typeInfo);
|
||||
|
||||
BOptions load(Type type);
|
||||
|
||||
void save(BOptions bOptions);
|
||||
|
||||
void saveAll();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.baja.ui.spell;
|
||||
|
||||
public interface SpellingError {
|
||||
String getInvalidWord();
|
||||
|
||||
int getPosition();
|
||||
|
||||
String[] getSuggestions();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.ui.style;
|
||||
|
||||
public interface IStylable {
|
||||
String getStyleClasses();
|
||||
|
||||
String getStyleId();
|
||||
|
||||
String getStyleSelector();
|
||||
|
||||
void setStyleClasses(String str);
|
||||
|
||||
void setStyleId(String str);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package javax.baja.ui.transfer;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.RectGeom;
|
||||
|
||||
public interface DragRenderer {
|
||||
RectGeom getDragEffectRectGeom();
|
||||
|
||||
void paintDragEffect(Graphics graphics);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package javax.baja.ui.transfer;
|
||||
|
||||
public interface TransferConst {
|
||||
public static final int ACTION_COPY = 16;
|
||||
public static final int ACTION_MOVE = 32;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package javax.baja.user;
|
||||
|
||||
import javax.baja.security.BIProtected;
|
||||
import javax.baja.security.BPermissionsMap;
|
||||
|
||||
public interface PermissionsManager {
|
||||
BPermissionsMap getPermissionsMap(BUser bUser, BIProtected bIProtected);
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user