Package com.sun.messaging.jmq.jmsserver.service

Examples of com.sun.messaging.jmq.jmsserver.service.ConnectionUID


     */
    private static CompositeType monitorCompType = null;

    public static ConnectionUID getConnectionUID(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);
  ConnectionUID cxnId;

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

View Full Code Here


  return (cd);
    }


    public static String getConnectionID(ProducerUID pid)  {
        ConnectionUID cxnId = getConnectionUID(pid);

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

  return(Long.toString(cxnId.longValue()));
    }
View Full Code Here

        return (new Boolean(p.isPaused()));
    }

    public static String getHost(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);
  ConnectionUID cxnId = null;

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

  cxnId = p.getConnectionUID();

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

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

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

        return (new Long(p.getMsgCnt()));
    }

    public static String getServiceName(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);
  ConnectionUID cxnId = null;

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

  cxnId = p.getConnectionUID();

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

  return(ConnectionUtil.getServiceOfConnection(cxnId.longValue()));
    }
View Full Code Here

  return(ConnectionUtil.getServiceOfConnection(cxnId.longValue()));
    }

    public static String getUser(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);
  ConnectionUID cxnId = null;

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

  cxnId = p.getConnectionUID();

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

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

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

    public void handle(MessageBusCallback cb, BrokerAddress sender, GPacket pkt) {
        if (DEBUG)
            logger.log(logger.DEBUG, "ClientClosedHandler");

        if (pkt.getType() == ProtocolGlobals.G_CLIENT_CLOSED) {
            ConnectionUID conid;
            conid = new ConnectionUID(((Long) pkt.getProp("I")).longValue());

            cb.clientDown(conid);

            if (pkt.getBit(pkt.A_BIT)) {
                GPacket gp = GPacket.getInstance();
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.jmsserver.service.ConnectionUID

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.