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,27 @@
package snippets.orb;
import com.common.orb.Orb;
import com.de22.orb.Address;
import com.de22.orb.development.OrbClassLoader;
import com.de22.orb.optional.*;
import com.de22.orb.security.SslSecurityProvider;
/**
* Copyright Declarative Engineering LLC 2008<p>
*/
public class ServerTest {
/**
* @param args
*/
public static void main(String[] args) {
Orb.setOrbWrapper(new CommonOrbWrapper(new OrbClassLoader(), null, null));
Orb.bind(Orb.getProxy(new Data(), IData.class), "Data", null);
try {
Orb.openServerSocket("ServerSocket", new ServerSocketOptions(new Address("zeeri:8444"), new Address("zeeri:8444"), new SocketOptions(), null, 360000, 20000, new SslSecurityProvider("TLS", "./.keystore", "123456", "abcdefg")));
}
catch(Throwable e) {
e.printStackTrace();
}
}
}