Package org.openbp.guiclient.remote

Examples of org.openbp.guiclient.remote.ServerConnection.connect()


    // By default, use an anonymous login
    ServerConnection connection = ServerConnection.getInstance();
    connection.setLoginInfo(new ClientLoginInfo("Anonymous", null));
    try
    {
      connection.connect(true);
    }
    catch (OpenBPException e)
    {
      // Show dialog box if the user has not chose to skip it before
      if (! SettingUtil.getBooleanSetting("openbp.cockpit.connectionwarning.hide", false))
View Full Code Here


      if (! serverConnection.isConnected())
      {
        try
        {
          // If we are not connected, try to connect to the server
          serverConnection.connect(true);

          JaspiraEventMgr.fireGlobalEvent("plugin.serverconnection.reconnect");

          String message = getPluginResourceCollection().getRequiredString("reconnect.okmessage");
          JMsgBox.show(null, message, JMsgBox.ICON_INFO);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.