@Immutable
public class ResourceProvider
extends Object
Provides resources, listening at a specified UDP address and port.
Modifier and Type | Class and Description |
---|---|
static class |
ResourceProvider.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
InetAddress |
getAddress()
Gets the address.
|
int |
getPort()
Gets the port.
|
ResourceSpecifier[] |
getResourceSpecifiers()
Gets the resource specifiers.
|
static ResourceProvider.Builder |
newBuilder()
Returns a new builder.
|
@Nonnull @CheckReturnValue public static ResourceProvider.Builder newBuilder()
@Nonnull @CheckReturnValue public InetAddress getAddress()
@CheckReturnValue public int getPort()
@Nonnull @CheckReturnValue public ResourceSpecifier[] getResourceSpecifiers()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.