|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.comm.codec.SwitchInfo<S,I>
S - the type of the switch tokenI - the type of the decoder inputpublic final class SwitchInfo<S,I>
A SwitchInfo is used by a SwitchDecoder to select the actual Decoder based on the switch
token (of type S). The selected Decoder will then decode the input provided by the
SwitchInfo (of type I).
| Constructor Summary | |
|---|---|
SwitchInfo(S switchToken,
I input)
Creates a new SwitchInfo with the given switch token and input for next decoder that will be
selected by the SwitchDecoder based on the given switch token. |
|
| Method Summary | |
|---|---|
I |
getInput()
Returns the input for the decoder associated with the given switch token. |
S |
getSwitchToken()
Returns the switch token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwitchInfo(S switchToken,
I input)
SwitchInfo with the given switch token and input for next decoder that will be
selected by the SwitchDecoder based on the given switch token.
switchToken - the switch tokeninput - the input for the decoder associated with the given switch token| Method Detail |
|---|
public S getSwitchToken()
public I getInput()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||