J-Sim v1.2.1-p7 API

drcl.inet.contract
Class PktDelivery

java.lang.Object
  extended bydrcl.comp.Contract
      extended bydrcl.inet.contract.PktDelivery

public class PktDelivery
extends Contract

The packet delivery contract. This contract defines that the core service layer delivers the arriving packet (InetPacket) directly to the corresponding upper layer protocol with the TTL field replaced by the incoming interface where the packet arrives.


Field Summary
static PktDelivery INSTANCE
           
 
Fields inherited from class drcl.comp.Contract
Role_INITIATOR, Role_PEER, Role_REACTOR
 
Constructor Summary
PktDelivery()
           
PktDelivery(int role_)
           
 
Method Summary
 java.lang.Object getContractContent()
          Returns the content of this contract (format?).
 java.lang.String getName()
           
 
Methods inherited from class drcl.comp.Contract
getRole, match, setRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PktDelivery INSTANCE
Constructor Detail

PktDelivery

public PktDelivery()

PktDelivery

public PktDelivery(int role_)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class Contract

getContractContent

public java.lang.Object getContractContent()
Description copied from class: Contract
Returns the content of this contract (format?).

Specified by:
getContractContent in class Contract

J-Sim v1.2.1-p7 API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~