cvm.ncb.adapters
Class SkypeAdapterDataContainer

java.lang.Object
  extended by cvm.ncb.adapters.SkypeAdapterDataContainer

public class SkypeAdapterDataContainer
extends java.lang.Object

This class contains all the schemas that have been received and prepares them to be sent up to NCB

Author:
Frank Hernandez, Eddie Incer, Raidel Batista

Field Summary
static int sentCount
           
 
Method Summary
 void enqueueSchemaForProcessing(java.lang.String arg0)
          Places the schemas in a container for processing.
static SkypeAdapterDataContainer getInstance()
           
 void handledReceviedSchemas()
          Private this method handles all the schemas that have been received and have yet to be sent to the upper layers.
 boolean isSchema(java.lang.String message)
          This function checks if what was recieved was a schema.
 void signalSchemaReceived()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sentCount

public static int sentCount
Method Detail

getInstance

public static SkypeAdapterDataContainer getInstance()

enqueueSchemaForProcessing

public void enqueueSchemaForProcessing(java.lang.String arg0)
Places the schemas in a container for processing.

Parameters:
arg0 -

signalSchemaReceived

public void signalSchemaReceived()

isSchema

public boolean isSchema(java.lang.String message)
This function checks if what was recieved was a schema.

Parameters:
message - Information received.
Returns:
Schema found or not.

handledReceviedSchemas

public void handledReceviedSchemas()
                            throws java.lang.InterruptedException
Private this method handles all the schemas that have been received and have yet to be sent to the upper layers.

Throws:
java.lang.InterruptedException