Codota Logo
ServerConnectionOpenListener$Initial
Code IndexAdd Codota to your IDE (free)

How to use
ServerConnectionOpenListener$Initial
in
org.jboss.remoting3.remote

Best Java code snippets using org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial (Showing top 15 results out of 315)

  • Common ways to obtain ServerConnectionOpenListener$Initial
private void myMethod () {
ServerConnectionOpenListener$Initial s =
  • Codota Iconnew Initial()
  • Smart code suggestions by Codota
}
origin: wildfly/wildfly

public void handleEvent(final ConduitStreamSourceChannel channel) {
  final Pooled<ByteBuffer> pooled = connection.allocate();
  boolean ok = false;
  try {
    ByteBuffer sendBuffer = pooled.getResource();
    sendBuffer.put(Protocol.GREETING);
    ProtocolUtils.writeString(sendBuffer, Protocol.GRT_SERVER_NAME, serverName);
    sendBuffer.flip();
    connection.setReadListener(new Initial(), true);
    connection.send(pooled);
    ok = true;
    return;
  } catch (BufferUnderflowException | BufferOverflowException e) {
    connection.handleException(log.invalidMessage(connection));
    return;
  } finally {
    if (! ok) pooled.free();
  }
}
origin: wildfly/wildfly

handleClientCapabilities(receiveBuffer);
sendCapabilities();
return;
  connection.send(pooled);
  ok = true;
  connection.setReadListener(new Initial(), true);
  if (starttls) {
    connection.send(RemoteConnection.STARTTLS_SENTINEL);
final Map<String, String> saslProperties = getSaslProperties(optionMap);
final SslChannel sslChannel = connection.getSslChannel();
final SSLSession sslSession = sslChannel == null ? null : sslChannel.getSslSession();
  rejectAuthentication(mechName);
  return;
origin: wildfly/wildfly

void sendCapabilities() {
  if (allowedMechanisms == null) {
    initialiseCapabilities();
origin: org.jboss.eap/wildfly-client-all

public void handleEvent(final ConduitStreamSourceChannel channel) {
  final Pooled<ByteBuffer> pooled = connection.allocate();
  boolean ok = false;
  try {
    ByteBuffer sendBuffer = pooled.getResource();
    sendBuffer.put(Protocol.GREETING);
    ProtocolUtils.writeString(sendBuffer, Protocol.GRT_SERVER_NAME, serverName);
    sendBuffer.flip();
    connection.setReadListener(new Initial(), true);
    connection.send(pooled);
    ok = true;
    return;
  } catch (BufferUnderflowException | BufferOverflowException e) {
    connection.handleException(log.invalidMessage(connection));
    return;
  } finally {
    if (! ok) pooled.free();
  }
}
origin: org.jboss.remoting3/jboss-remoting

public void handleEvent(final ConnectedMessageChannel channel) {
  final Pooled<ByteBuffer> pooled = connection.allocate();
  boolean ok = false;
  try {
    ByteBuffer sendBuffer = pooled.getResource();
    sendBuffer.put(Protocol.GREETING);
    ProtocolUtils.writeString(sendBuffer, Protocol.GRT_SERVER_NAME, serverName);
    sendBuffer.flip();
    connection.setReadListener(new Initial(), true);
    connection.send(pooled);
    ok = true;
    return;
  } catch (BufferUnderflowException e) {
    connection.handleException(RemoteLogger.log.invalidMessage(connection));
    return;
  } catch (BufferOverflowException e) {
    connection.handleException(RemoteLogger.log.invalidMessage(connection));
    return;
  } finally {
    if (! ok) pooled.free();
  }
}
origin: wildfly/wildfly

  close = true;
} else if (!isInitial) {
  connection.setReadListener(new Initial(), false);
origin: org.jboss.eap/wildfly-client-all

void sendCapabilities() {
  if (allowedMechanisms == null) {
    initialiseCapabilities();
origin: org.jboss.remoting3/jboss-remoting

server.trace("Server received capabilities request (cancelling authentication)");
saslDispose(saslServer);
final Initial initial = new Initial();
connection.setReadListener(initial, true);
initial.handleClientCapabilities(buffer);
initial.sendCapabilities();
return;
origin: org.jboss.eap/wildfly-client-all

server.trace("Server received capabilities request (cancelling authentication)");
saslDispose(saslServer);
final Initial initial = new Initial();
connection.setReadListener(initial, true);
initial.handleClientCapabilities(buffer);
initial.sendCapabilities();
return;
origin: org.jboss.eap/wildfly-client-all

  close = true;
} else if (!isInitial) {
  connection.setReadListener(new Initial(), false);
origin: org.jboss.remoting3/jboss-remoting

connection.setReadListener(new Initial(), false);
origin: wildfly/wildfly

server.trace("Server received capabilities request (cancelling authentication)");
saslDispose(saslServer);
final Initial initial = new Initial();
connection.setReadListener(initial, true);
initial.handleClientCapabilities(buffer);
initial.sendCapabilities();
return;
origin: org.jboss.eap/wildfly-client-all

handleClientCapabilities(receiveBuffer);
sendCapabilities();
return;
  connection.send(pooled);
  ok = true;
  connection.setReadListener(new Initial(), true);
  if (starttls) {
    connection.send(RemoteConnection.STARTTLS_SENTINEL);
final Map<String, String> saslProperties = getSaslProperties(optionMap);
final SslChannel sslChannel = connection.getSslChannel();
final SSLSession sslSession = sslChannel == null ? null : sslChannel.getSslSession();
  rejectAuthentication(mechName);
  return;
origin: org.jboss.remoting3/jboss-remoting

handleClientCapabilities(receiveBuffer);
sendCapabilities();
return;
  connection.setReadListener(new Initial(), true);
  return;
} finally {
origin: org.jboss.remoting3/jboss-remoting

void sendCapabilities() {
  if (allowedMechanisms == null) {
    initialiseCapabilities();
org.jboss.remoting3.remoteServerConnectionOpenListener$Initial

Most used methods

  • <init>
  • handleClientCapabilities
  • initialiseCapabilities
  • sendCapabilities
  • getSaslProperties
  • rejectAuthentication

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Join (org.hibernate.mapping)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now