2
프로그래밍 언어로 Java를 사용하면이 질문은 CORBA 클라이언트에서 Corba 서버로 객체를 보내는 방법과 관련하여 POA와 다음 idl 파일을 사용하고 있음을 나타냅니다. CORBA와 와이어에 보내 사전Corba 클라이언트에서 Corba 서버로 객체를 전달하는 방법
프로그래밍 언어로 Java를 사용하면이 질문은 CORBA 클라이언트에서 Corba 서버로 객체를 보내는 방법과 관련하여 POA와 다음 idl 파일을 사용하고 있음을 나타냅니다. CORBA와 와이어에 보내 사전Corba 클라이언트에서 Corba 서버로 객체를 전달하는 방법
유일한 "true"로 객체의
// BackupServer.idl
#ifndef BackupServer_idl
#define BackupServer_idl
interface BackupDaemon;
#include "BackupExceptions.idl"
typedef sequence<BackupDaemon> BackupDaemonList;
interface BackupDaemon {
attribute string backupDaemonUser;
attribute string backupDaemonIP;
attribute string backupDaemonHostName;
attribute string backupDaemonBackupType;
attribute string backupDaemonType;
attribute string backupDaemonTime;
attribute string backupDaemonPath;
attribute boolean backupDaemonScheduled;
attribute long backupDaemonPort;
attribute string backupDaemonMacAddress;
typedef sequence<string> BackupPathesStrings;
boolean startBackup(
in BackupPathesStrings backupPathes,
in string backupDaemonMacAddress);
void deleteBackup(
in string backupPathes,
in string backupDaemonMacAddress) raises (BackupPathNotFoundException);
};
interface BackupServer {
boolean registerBackupDaemon(in BackupDaemon bd)
raises (InvalidBackupDaemonException);
boolean unRegisterBackupDaemon(in string backupDaemonMacAddress)
raises (InvalidBackupDaemonException);
BackupDaemonList getBackupDeamons();
};
덕분에, 그렇지 않으면 "참조"가 교환 될 수있다 ValueType 더 simple structured raw data as "struct" and "union"입니다.
한 위치에서 다른 위치로 CORBA 서버를 마이그레이션하는 것은 간단하지 않고 직접 구현할 수 없지만 복잡한 배치를 통해 수행 할 수 있습니다.
비슷한 예가 있으면 흥미가 있습니다. –