Package de.desy.tine.server

Examples of de.desy.tine.server.TServerSettings


    al.add("fec : "+ se.getFecName());
    String ip = se.getFecAddr().fecHost.getHostAddress().toString();
    al.add("ip  : "+ ip);
    al.add("host: "+ se.getFecAddr().fecHost.getHostName());
   
    TServerSettings tsrvs = TQuery.getServerSettings(tgt);

    doocsCompatErrors.clear();
    doocsCompatWarnings.clear();
   
    if (tsrvs != null)
    {
      al.add("settings :");
      al.add("\tserver working area: "+(isJava ? "not applicable" : tsrvs.getSrvWorkArea()));
      al.add("\tcontract table capacity: "+(isJava ? "limited by available memory" : tsrvs.getConTblCapacity()));
      al.add("\tclient table capacity: "+(isJava ? "limited by available memory" :tsrvs.getClnTblCapacity()));
      al.add("\tserver sck recv buffers: "+tsrvs.getSrvRecvBuffers());
      al.add("\tminimum polling interval: "+tsrvs.getMinPollInterval());
      al.add("\tclient-side link capacity: "+tsrvs.getLnkTblCapacity());
      al.add("\tclient-side sck recv buffers: "+tsrvs.getClnRecvBuffers());
    }

    int rc;
    boolean isOffline = false;
    TLink lnk;
View Full Code Here


  }
  public static TServerSettings getServerSettings(String fullServerName)
  {
    if (fullServerName == null) return null;
    TServerSettings[] tss = new TServerSettings[1];
    tss[0] = new TServerSettings();
    TDataType tssd = new TDataType(tss);
    TLink tl = new TLink(fullServerName,"SRVSETTINGS",tssd,null,TAccess.CA_READ);
    if (tl.executeAndClose(TLink.defaultTimeout) == 0)
    {
      return tss[0];
View Full Code Here

    al.add("fec : "+ se.getFecName());
    String ip = se.getFecAddr().fecHost.getHostAddress().toString();
    al.add("ip  : "+ ip);
    al.add("host: "+ se.getFecAddr().fecHost.getHostName());
   
    TServerSettings tsrvs = TQuery.getServerSettings(tgt);
    //al.add(tsrvs.toString());
   
    if (tsrvs != null)
    {
      al.add("settings :");
      al.add("\tserver working area: "+tsrvs.getSrvWorkArea());
      al.add("\tcontract table capacity: "+tsrvs.getConTblCapacity());
      al.add("\tclient table capacity: "+tsrvs.getClnTblCapacity());
      al.add("\tserver sck recv buffers: "+tsrvs.getSrvRecvBuffers());
      al.add("\tminimum polling interval: "+tsrvs.getMinPollInterval());
      al.add("\tclient-side link capacity: "+tsrvs.getLnkTblCapacity());
      al.add("\tclient-side sck recv buffers: "+tsrvs.getClnRecvBuffers());
    }

    int rc;
    boolean isOffline = false;
    TLink lnk;
View Full Code Here

  }
  public static TServerSettings getServerSettings(String fullServerName)
  {
    if (fullServerName == null) return null;
    TServerSettings[] tss = new TServerSettings[1];
    tss[0] = new TServerSettings();
    TDataType tssd = new TDataType(tss);
    TLink tl = new TLink(fullServerName,"SRVSETTINGS",tssd,null,TAccess.CA_READ);
    if (tl.executeAndClose(TLink.defaultTimeout) == 0)
    {
      return tss[0];
View Full Code Here

    // get the remaining stock structures into the registry
    new TWriteAccessInfo("","","","","",0);
    new TClient();
    new TConnectionStruct();
    new TContractEntry();
    new TServerSettings();
    new THistoryRecordStruct();
    TAlarmMessage5.initStructDescription();
    new TAlarmWatchEntry();
   
    stockStructLegacy = new TStructDescription("PQS");
View Full Code Here

    // get the remaining stock structures into the registry
    new TWriteAccessInfo("","","","","",0);
    new TClient();
    new TConnectionStruct();
    new TContractEntry();
    new TServerSettings();
    new THistoryRecordStruct();
    TAlarmMessage5.initStructDescription();
    new TAlarmWatchEntry();
   
    stockStructLegacy = new TStructDescription("PQS");
View Full Code Here

    al.add("fec : "+ se.getFecName());
    String ip = se.getFecAddr().fecHost.getHostAddress().toString();
    al.add("ip  : "+ ip);
    al.add("host: "+ se.getFecAddr().fecHost.getHostName());
   
    TServerSettings tsrvs = TQuery.getServerSettings(tgt);

    doocsCompatErrors.clear();
    doocsCompatWarnings.clear();
   
    if (tsrvs != null)
    {
      al.add("settings :");
      al.add("\tserver working area: "+(isJava ? "not applicable" : tsrvs.getSrvWorkArea()));
      al.add("\tcontract table capacity: "+(isJava ? "limited by available memory" : tsrvs.getConTblCapacity()));
      al.add("\tclient table capacity: "+(isJava ? "limited by available memory" :tsrvs.getClnTblCapacity()));
      al.add("\tserver sck recv buffers: "+tsrvs.getSrvRecvBuffers());
      al.add("\tminimum polling interval: "+tsrvs.getMinPollInterval());
      al.add("\tclient-side link capacity: "+tsrvs.getLnkTblCapacity());
      al.add("\tclient-side sck recv buffers: "+tsrvs.getClnRecvBuffers());
    }

    int rc;
    boolean isOffline = false;
    TLink lnk;
View Full Code Here

  }
  public static TServerSettings getServerSettings(String fullServerName)
  {
    if (fullServerName == null) return null;
    TServerSettings[] tss = new TServerSettings[1];
    tss[0] = new TServerSettings();
    TDataType tssd = new TDataType(tss);
    TLink tl = new TLink(fullServerName,"SRVSETTINGS",tssd,null,TAccess.CA_READ);
    if (tl.executeAndClose(TLink.defaultTimeout) == 0)
    {
      return tss[0];
View Full Code Here

    // get the remaining stock structures into the registry
    new TWriteAccessInfo("","","","","",0);
    new TClient();
    new TConnectionStruct();
    new TContractEntry();
    new TServerSettings();
    new THistoryRecordStruct();
    TAlarmMessage5.initStructDescription();
    new TAlarmWatchEntry();
   
    stockStructLegacy = new TStructDescription("PQS");
View Full Code Here

TOP

Related Classes of de.desy.tine.server.TServerSettings

Copyright © 2018 www.massapicom. 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.