cgl.narada.transport.udp
Class UDPPackageDivide

java.lang.Object
  extended by cgl.narada.transport.udp.UDPPackageDivide

public class UDPPackageDivide
extends Object

Title: UDPPackageDivide

Description: Devides a big package to a small packages so that they can be sent easily

Version:
1.0

Nested Class Summary
 class UDPPackageDivide.PackageObject
          Title: PackageObject
 
Constructor Summary
UDPPackageDivide()
           
 
Method Summary
 void addJobsToJobVector(Vector ovec, byte[] wholepack, long pnumber)
          Creates a vector which consists small parts of big chunk of bytes
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDPPackageDivide

public UDPPackageDivide()
Method Detail

addJobsToJobVector

public void addJobsToJobVector(Vector ovec,
                               byte[] wholepack,
                               long pnumber)
Creates a vector which consists small parts of big chunk of bytes

Parameters:
ovec - the vector which will consist the small parts
wholepack - the whole bytes

main

public static void main(String[] args)


For comments and suggestions please send e-mail to The NaradaBrokering Project