Link.detach
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.qpid.proton.engine.Link.detach(Showing top 12 results out of 315)

  • Common ways to obtain Link
private void myMethod () {
Link l =
  • Event event;event.getLink()
  • Smart code suggestions by Codota
}
origin: org.apache.activemq/activemq-all

@Override
public void detach() {
  if (!closed) {
    if (getEndpoint() != null) {
      getEndpoint().setContext(null);
      getEndpoint().detach();
      getEndpoint().free();
    }
  }
}
origin: org.apache.activemq/activemq-amqp

protected void processLinkDetach(Link link) throws Exception {
  Object context = link.getContext();
  if (context instanceof AmqpLink) {
    ((AmqpLink) context).detach();
  } else {
    link.detach();
    link.free();
  }
}
origin: io.vertx/vertx-proton

@Override
public T detach() {
 link.detach();
 getSession().getConnectionImpl().flush();
 return self();
}
origin: apache/activemq-artemis

@Override
public void onRemoteDetach(Link link) throws Exception {
 lock();
 try {
   link.detach();
   link.free();
 } finally {
   unlock();
 }
}
origin: org.apache.activemq/activemq-amqp

@Override
public void detach() {
  if (!closed) {
    if (getEndpoint() != null) {
      getEndpoint().setContext(null);
      getEndpoint().detach();
      getEndpoint().free();
    }
  }
}
origin: org.apache.activemq/activemq-amqp

@Override
public void detach() {
  if (!closed) {
    if (getEndpoint() != null) {
      getEndpoint().setContext(null);
      getEndpoint().detach();
      getEndpoint().free();
    }
  }
}
origin: org.apache.activemq/activemq-osgi

protected void processLinkDetach(Link link) throws Exception {
  Object context = link.getContext();
  if (context instanceof AmqpLink) {
    ((AmqpLink) context).detach();
  } else {
    link.detach();
    link.free();
  }
}
origin: org.apache.activemq/artemis-amqp-protocol

@Override
public void onRemoteDetach(Link link) throws Exception {
 lock();
 try {
   link.detach();
   link.free();
 } finally {
   unlock();
 }
}
origin: org.apache.activemq/artemis-amqp-protocol

@Override
public void onRemoteDetach(Link link) throws Exception {
 lock();
 try {
   link.detach();
   link.free();
 } finally {
   unlock();
 }
}
origin: org.apache.activemq/activemq-all

protected void processLinkDetach(Link link) throws Exception {
  Object context = link.getContext();
  if (context instanceof AmqpLink) {
    ((AmqpLink) context).detach();
  } else {
    link.detach();
    link.free();
  }
}
origin: org.apache.activemq/activemq-osgi

@Override
public void detach() {
  if (!closed) {
    if (getEndpoint() != null) {
      getEndpoint().setContext(null);
      getEndpoint().detach();
      getEndpoint().free();
    }
  }
}
origin: io.vertx/vertx-proton

@Override
public T detach() {
 link.detach();
 getSession().getConnectionImpl().flush();
 return self();
}
org.apache.qpid.proton.engineLinkdetach

Popular methods of Link

  • getRemoteSource
  • getRemoteTarget
  • close
  • getSession
  • setSource
    Sets the source for this link. The initiator of the link must always provide a Source. An applicatio
  • setTarget
    Expected to be used in a similar manner to #setSource(Source)
  • getContext
  • getCredit
    Gets the credit balance for a link. Note that a sending link may still be used to send deliveries ev
  • getDrain
  • getLocalState
  • open
  • free
  • open,
  • free,
  • getName,
  • setCondition,
  • setContext,
  • getRemoteCondition,
  • getTarget,
  • drained,
  • getQueued

Popular classes and methods

  • getSystemService (Context)
  • runOnUiThread (Activity)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • Format (java.text)
    Format is an abstract base class for formatting locale-sensitive information such as dates, messages
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • SortedMap (java.util)
    A Map that further provides a total ordering on its keys. The map is ordered according to the Compar
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)