Package com.sun.messaging.jmq.util.admin

Examples of com.sun.messaging.jmq.util.admin.ConnectionInfo


    }


    public static List getConsumerIDs(long cxnId)  {
  ConnectionManager  cm = Globals.getConnectionManager();
  ConnectionInfo    cxnInfo = null;
  IMQConnection    cxn = null;
  List      consumerIDs;

  cxn = (IMQConnection)cm.getConnection(new ConnectionUID(cxnId));
  consumerIDs = cxn.getConsumersIDs();
View Full Code Here


  return (consumerIDs);
    }

    public static List getProducerIDs(long cxnId)  {
  ConnectionManager  cm = Globals.getConnectionManager();
  ConnectionInfo    cxnInfo = null;
  IMQConnection    cxn = null;
  List      producerIDs;

  cxn = (IMQConnection)cm.getConnection(new ConnectionUID(cxnId));
  producerIDs = cxn.getProducerIDs();
View Full Code Here

  if (cxnId == null)  {
      return (null);
  }

  ConnectionInfo cxnInfo = ConnectionUtil.getConnectionInfo(cxnId.longValue());

  if (cxnInfo == null)  {
      return (null);
  }
View Full Code Here

  if (cxnId == null)  {
      return (null);
  }

  ConnectionInfo cxnInfo = ConnectionUtil.getConnectionInfo(cxnId.longValue());

  return (cxnInfo.user);
    }
View Full Code Here

    }

    Iterator itr = connections.iterator();
    int i = 0;
    while (itr.hasNext()) {
      ConnectionInfo cxnInfo = (ConnectionInfo) itr.next();
      if (cxnInfo.service.equals("jmsdirect")){
        return true;
      }
    }
View Full Code Here

  if (cxnId == null)  {
      return (null);
  }

  ConnectionInfo cxnInfo = ConnectionUtil.getConnectionInfo(cxnId.longValue());

  if (cxnInfo == null)  {
      return (null);
  }
View Full Code Here

  if (cxnId == null)  {
      return (null);
  }

  ConnectionInfo cxnInfo = ConnectionUtil.getConnectionInfo(cxnId.longValue());

  if (cxnInfo == null)  {
      return (null);
  }
View Full Code Here

  super();
  this.id = id;
    }

    public String getClientID()  {
  ConnectionInfo cxnInfo = ConnectionUtil.getConnectionInfo(id);

  return (cxnInfo.clientID);
    }
View Full Code Here

  return (cxnInfo.clientID);
    }

    public String getClientPlatform()  {
  ConnectionInfo cxnInfo = ConnectionUtil.getConnectionInfo(id);

  return (cxnInfo.userAgent);
    }
View Full Code Here

    public String getConnectionID()  {
  return (Long.toString(id));
    }

    public String getHost()  {
  ConnectionInfo cxnInfo = ConnectionUtil.getConnectionInfo(id);
  String host = null;

  if (cxnInfo.remoteIP != null) {
            host = String.valueOf(
    IPAddress.rawIPToString(cxnInfo.remoteIP, true, true));
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.util.admin.ConnectionInfo

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.