use of org.eclipse.ecf.core.sharedobject.ISharedObjectContainerConfig in project ecf by eclipse.
the class SSLClientSOContainer method main.
public static final void main(String[] args) throws Exception {
ISharedObjectContainerConfig config = new SOContainerConfig(IDFactory.getDefault().createGUID());
SSLClientSOContainer container = new SSLClientSOContainer(config);
// now join group
ID serverID = IDFactory.getDefault().createStringID(SSLServerSOContainer.getDefaultServerURL());
container.connect(serverID, null);
Thread.sleep(200000);
}
use of org.eclipse.ecf.core.sharedobject.ISharedObjectContainerConfig in project ecf by eclipse.
the class TCPClientSOContainer method main.
public static final void main(String[] args) throws Exception {
ISharedObjectContainerConfig config = new SOContainerConfig(IDFactory.getDefault().createGUID());
TCPClientSOContainer container = new TCPClientSOContainer(config);
// now join group
// $NON-NLS-1$
ID serverID = IDFactory.getDefault().createStringID("ecftcp://localhost:3282/server");
container.connect(serverID, null);
Thread.sleep(200000);
}
Aggregations