Bees v0.5.0 API

apps.benchmark
Class SendCapsule

java.lang.Object
  |
  +--bees.core.Packet
        |
        +--bees.core.ANEPPacket
              |
              +--bees.core.Capsule
                    |
                    +--apps.benchmark.BenchmarkCapsule
                          |
                          +--apps.benchmark.SendCapsule

public class SendCapsule
extends BenchmarkCapsule


Constructor Summary
SendCapsule()
           
 
Method Summary
 void evaluate(Node node, ProtocolSession ps)
          Evaluate this capsule.
 java.lang.String toString()
           
 
Methods inherited from class apps.benchmark.BenchmarkCapsule
decode, encode, recordHit, setDataLength
 
Methods inherited from class bees.core.Capsule
addToPool, checkPermission, clone, decodingException, equals, evaluate, fromCapsule, fromExternal, getCapsuleID, getFlowDesc, getSession, getSession, getSource, internalDecode, internalEncode, internalReset, reset, skipOptions, specializeCapsule
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendCapsule

public SendCapsule()
Method Detail

evaluate

public void evaluate(Node node,
                     ProtocolSession ps)
Description copied from class: Capsule
Evaluate this capsule. Basically, this is the function that performs any computation and forwarding.
Overrides:
evaluate in class Capsule
Following copied from class: bees.core.Capsule
Parameters:
node - The current Node object.
ps - The ProtocolSession bound to this capsule type.
Throws:
java.lang.Throwable - if anything goes wrong.

toString

public java.lang.String toString()
Overrides:
toString in class BenchmarkCapsule
Following copied from class: bees.core.Capsule
See Also:
Object.toString()

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/