Package org.jboss.netty.example.factorial
package org.jboss.netty.example.factorial
-
ClassesClassDescriptionDecodes the binary representation of a
BigInteger
prepended with a magic number ('F' or 0x46) and a 32-bit integer length prefix into aBigInteger
instance.Sends a sequence of integers to aFactorialServer
to calculate the factorial of the specified integer.Handler for a client-side channel.Creates a newly configuredChannelPipeline
for a client-side channel.Receives a sequence of integers from aFactorialClient
to calculate the factorial of the specified integer.Handler for a server-side channel.Creates a newly configuredChannelPipeline
for a server-side channel.Encodes aNumber
into the binary representation prepended with a magic number ('F' or 0x46) and a 32-bit length prefix.