de.upb.swtpra05.group03.plugin
Class Pickaback

java.lang.Object
  extended byde.upb.swtpra05.group03.plugin.Pickaback
All Implemented Interfaces:
PickabackInterface

public class Pickaback
extends java.lang.Object
implements PickabackInterface

This class is used to work on pickaback traffic from the shuttle through a string

Version:
$Revision: 1.3 $

Field Summary
(package private) static int minimalAccountDataID
          Used to ensure, that the correct AccountData objects got removed
 
Fields inherited from interface de.upb.swtpra05.group03.shuttle.shared.PickabackInterface
MEMBERVARSEPARATOR, OBJECTSEPARATOR
 
Constructor Summary
Pickaback()
           
 
Method Summary
static java.util.LinkedList parseMultiObjectString(java.lang.String s)
          parses a String and disjoint it into the different objects the shuttle will send to the plugin
private static java.lang.Object parseSingleObjectString(java.lang.String s)
          parses a String which is assumed to be the representation of exactly one object used only as a helper class for parseMultiObjectString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minimalAccountDataID

static int minimalAccountDataID
Used to ensure, that the correct AccountData objects got removed

Constructor Detail

Pickaback

public Pickaback()
Method Detail

parseMultiObjectString

public static java.util.LinkedList parseMultiObjectString(java.lang.String s)
parses a String and disjoint it into the different objects the shuttle will send to the plugin

Parameters:
s - the string the shuttle sends to the plugin
Returns:
a LinkedList with different objects, e.g. ExtendedOrders and thisalike

parseSingleObjectString

private static java.lang.Object parseSingleObjectString(java.lang.String s)
parses a String which is assumed to be the representation of exactly one object used only as a helper class for parseMultiObjectString

Parameters:
s - a string representing exactly one pickaback object
Returns:
a LinkedList with different objects, e.g. ExtendedOrders and thisalike