alts: add TsiPeer boolean property (#5824)

This commit is contained in:
Jihun Cho 2019-06-03 16:29:48 -07:00 committed by GitHub
parent f81201024e
commit 23170c298e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -73,6 +73,13 @@ public final class TsiPeer {
} }
} }
/** A peer property corresponding to a boolean. */
public static final class BooleanProperty extends Property<Boolean> {
public BooleanProperty(@Nonnull String name, boolean value) {
super(name, value);
}
}
/** A peer property corresponding to a signed 64-bit integer. */ /** A peer property corresponding to a signed 64-bit integer. */
public static final class SignedInt64Property extends Property<Long> { public static final class SignedInt64Property extends Property<Long> {
public SignedInt64Property(@Nonnull String name, @Nonnull Long value) { public SignedInt64Property(@Nonnull String name, @Nonnull Long value) {