Package net.i2p.router.transport.udp
Enum IntroductionManager.RelayIntroResult
- java.lang.Object
-
- java.lang.Enum<IntroductionManager.RelayIntroResult>
-
- net.i2p.router.transport.udp.IntroductionManager.RelayIntroResult
-
- All Implemented Interfaces:
Serializable
,Comparable<IntroductionManager.RelayIntroResult>
- Enclosing class:
- IntroductionManager
public static enum IntroductionManager.RelayIntroResult extends Enum<IntroductionManager.RelayIntroResult>
See receiveRelayIntro()- Since:
- 0.9.65
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IntroductionManager.RelayIntroResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static IntroductionManager.RelayIntroResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLIED
public static final IntroductionManager.RelayIntroResult REPLIED
-
DELAYED
public static final IntroductionManager.RelayIntroResult DELAYED
-
DROPPED
public static final IntroductionManager.RelayIntroResult DROPPED
-
-
Method Detail
-
values
public static IntroductionManager.RelayIntroResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IntroductionManager.RelayIntroResult c : IntroductionManager.RelayIntroResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IntroductionManager.RelayIntroResult valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-