Class ServerConnection

java.lang.Object
net.messagevortex.transport.AbstractConnection
net.messagevortex.transport.ServerConnection
Direct Known Subclasses:
ImapConnection

public class ServerConnection extends AbstractConnection

A generic listening server connection.

  • Constructor Details

    • ServerConnection

      public ServerConnection(SocketChannel channel, SecurityContext context)

      Creates a server connection based on a server channel.

      Parameters:
      channel - the channel to be used
      context - the security context to be applied to the connection
    • ServerConnection

      public ServerConnection(AbstractConnection ac)

      Creates a connection based on a template connection.

      Parameters:
      ac - the template connection