Klasse TcpWrapperConnection

Alle implementierten Schnittstellen:
PointerInterface

public class TcpWrapperConnection extends TcpConnection
A `GTcpWrapperConnection` can be used to wrap a [class@Gio.IOStream] that is
based on a [class@Gio.Socket], but which is not actually a
[class@Gio.SocketConnection]. This is used by [class@Gio.SocketClient] so
that it can always return a [class@Gio.SocketConnection], even when the
connection it has actually created is not directly a
[class@Gio.SocketConnection].

https://docs.gtk.org/gio/class.TcpWrapperConnection.html

  • Konstruktordetails

    • TcpWrapperConnection

      public TcpWrapperConnection(PointerContainer pointer)
    • TcpWrapperConnection

      public TcpWrapperConnection(@Nonnull IOStream base_io_stream, @Nonnull Socket socket)
      Wraps @base_io_stream and @socket together as a #GSocketConnection.
      Parameter:
      base_io_stream - the #GIOStream to wrap
      socket - the #GSocket associated with @base_io_stream
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getBaseIoStream

      public IOStream getBaseIoStream()
      Gets @conn's base #GIOStream
      Gibt zurück:
      @conn's base #GIOStream
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()