Package org.jboss.netty.example.factorial
package org.jboss.netty.example.factorial
-
ClassesClassDescriptionDecodes the binary representation of a
BigIntegerprepended with a magic number ('F' or 0x46) and a 32-bit integer length prefix into aBigIntegerinstance.Sends a sequence of integers to aFactorialServerto calculate the factorial of the specified integer.Handler for a client-side channel.Creates a newly configuredChannelPipelinefor a client-side channel.Receives a sequence of integers from aFactorialClientto calculate the factorial of the specified integer.Handler for a server-side channel.Creates a newly configuredChannelPipelinefor a server-side channel.Encodes aNumberinto the binary representation prepended with a magic number ('F' or 0x46) and a 32-bit length prefix.