Interface SocketOptionLingerOrBuilder

    • Method Detail

      • getActive

        boolean getActive()
         active maps to `struct linger.l_onoff`
         
        bool active = 1;
        Returns:
        The active.
      • hasDuration

        boolean hasDuration()
         duration maps to `struct linger.l_linger`
         
        .google.protobuf.Duration duration = 2;
        Returns:
        Whether the duration field is set.
      • getDuration

        Duration getDuration()
         duration maps to `struct linger.l_linger`
         
        .google.protobuf.Duration duration = 2;
        Returns:
        The duration.
      • getDurationOrBuilder

        DurationOrBuilder getDurationOrBuilder()
         duration maps to `struct linger.l_linger`
         
        .google.protobuf.Duration duration = 2;