-
- All Implemented Interfaces:
public final class IppSubscription
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classIppSubscription.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integeridprivate final IntegerleaseDurationprivate final List<String>eventsprivate final IntegerjobIdprivate BooleanprocessEventsprivate final IppPrinterprinterprivate IppAttributesGroupattributes
-
Constructor Summary
Constructors Constructor Description IppSubscription(IppPrinter printer, IppAttributesGroup attributes, Boolean updateAttributes)
-
Method Summary
Modifier and Type Method Description final IntegergetId()final IntegergetLeaseDuration()final List<String>getEvents()final IntegergetJobId()final BooleangetProcessEvents()final UnitsetProcessEvents(Boolean processEvents)final IppPrintergetPrinter()final IppAttributesGroupgetAttributes()final UnitsetAttributes(IppAttributesGroup attributes)final BooleanhasJobId()final IppResponsegetSubscriptionAttributes(List<String> requestedAttributes)final IppResponsegetSubscriptionAttributes()final UnitupdateAllAttributes()final List<IppEventNotification>getNotifications(Boolean onlyNewEvents, Integer notifySequenceNumber)final IppResponsecancel()final IppResponserenew(Integer notifyLeaseDuration)final IppRequestippRequest(IppOperation operation, List<String> requestedAttributes)final IppResponseexchange(IppRequest request)final UnitprocessEvents(Long delayMillis, Function1<IppEventNotification, Unit> onEvent)StringtoString()final UnitlogDetails()-
-
Constructor Detail
-
IppSubscription
IppSubscription(IppPrinter printer, IppAttributesGroup attributes, Boolean updateAttributes)
-
-
Method Detail
-
getLeaseDuration
final Integer getLeaseDuration()
-
getProcessEvents
final Boolean getProcessEvents()
-
setProcessEvents
final Unit setProcessEvents(Boolean processEvents)
-
getPrinter
final IppPrinter getPrinter()
-
getAttributes
final IppAttributesGroup getAttributes()
-
setAttributes
final Unit setAttributes(IppAttributesGroup attributes)
-
getSubscriptionAttributes
@JvmOverloads() final IppResponse getSubscriptionAttributes(List<String> requestedAttributes)
-
getSubscriptionAttributes
@JvmOverloads() final IppResponse getSubscriptionAttributes()
-
updateAllAttributes
final Unit updateAllAttributes()
-
getNotifications
final List<IppEventNotification> getNotifications(Boolean onlyNewEvents, Integer notifySequenceNumber)
-
cancel
final IppResponse cancel()
-
renew
final IppResponse renew(Integer notifyLeaseDuration)
-
ippRequest
final IppRequest ippRequest(IppOperation operation, List<String> requestedAttributes)
-
exchange
final IppResponse exchange(IppRequest request)
-
processEvents
final Unit processEvents(Long delayMillis, Function1<IppEventNotification, Unit> onEvent)
-
logDetails
final Unit logDetails()
-
-
-
-