Uses of Interface
com.speckled.specksim.comm.MessageShell

Packages that use MessageShell
com.speckled.specksim The main classes/interfaces of SpeckSim. 
com.speckled.specksim.comm Controls communication characteristics 
com.speckled.specksim.imp.comm Communication implementations 
com.speckled.specksim.imp.shells MessageShell implementations. 
com.speckled.specksim.imp.specks Speck implementations. 
 

Uses of MessageShell in com.speckled.specksim
 

Methods in com.speckled.specksim with parameters of type MessageShell
 boolean WallManager.blockedByWall(Point3d position, Point3d position2, MessageShell shell)
          Performs a brute-force search to see if the supplied line segment intersects a wall
 boolean Wall.blocksTransmission(Point3d p1, Point3d p2, MessageShell shell)
          Determines if this wall blocks a transmission
 void SpeckCapability.initiateBroadcast(Speck speck, Message m, MessageShell shell, MACProtocol mac)
          Initiates a broadcast
 void SpeckSim.initiateBroadcast(Speck speck, Message m, MessageShell shell, MACProtocol mac)
           
 void SpeckCapability.initiateBroadcast(Speck speck, MessageProducer mp, MessageShell shell, MACProtocol mac)
          Initiates a broadcast.
 void SpeckSim.initiateBroadcast(Speck speck, MessageProducer mp, MessageShell shell, MACProtocol mac)
           
 void Speck.shellEncountered(Speck sender, MessageShell shell, Message message)
          Called when the simulator determines that this speck lies within the bounds of a transmission.
 

Uses of MessageShell in com.speckled.specksim.comm
 

Methods in com.speckled.specksim.comm that return MessageShell
 MessageShell MessageShell.clone()
          Override this method to return a copy of this MessageShell.
 

Methods in com.speckled.specksim.comm with parameters of type MessageShell
 float CommunicationModel.broadcast(Speck speck, Message m, MessageShell shell)
          Simulate a broadcast
 void CommunicationModel.initiateBroadcast(Speck speck, Message m, MessageShell shell, MACProtocol mac)
          Called by specks when they want to broadcast a message
 void CommunicationModel.initiateBroadcast(Speck speck, MessageProducer mp, MessageShell shell, MACProtocol mac)
          Called by specks when they want to broadcast a message.
 void MACProtocol.initiateBroadcast(SpeckSim simulator, CommunicationModel commsModel, Speck speck, MessageShell shell, MessageProducer m)
          Called to initiate a broadcast.
 

Uses of MessageShell in com.speckled.specksim.imp.comm
 

Fields in com.speckled.specksim.imp.comm declared as MessageShell
protected  MessageShell AbstractMac.shell
          The extent of the transmission
 

Methods in com.speckled.specksim.imp.comm with parameters of type MessageShell
 float DefaultCommsModel.broadcast(Speck speck, Message message, MessageShell shell)
           
 java.util.SortedSet<Speck> OctTreeField.findRecipients(Speck sender, MessageShell shell, float time)
          Finds the recipients of a broadcast
 void DefaultCommsModel.initiateBroadcast(Speck speck, Message m, MessageShell shell, MACProtocol mac)
           
 void DefaultCommsModel.initiateBroadcast(Speck speck, MessageProducer mp, MessageShell shell, MACProtocol mac)
           
 void AbstractMac.initiateBroadcast(SpeckSim simulator, CommunicationModel commsModel, Speck speck, MessageShell shell, MessageProducer m)
           
 

Uses of MessageShell in com.speckled.specksim.imp.shells
 

Classes in com.speckled.specksim.imp.shells that implement MessageShell
 class CollimatedShell
          A simple shell that simulates a targetted, collimated beam of radiation.
 class EllipsoidShell
          This shell type simulates an ellipsoid shell
 class PerfectRadioShell
          Simulates a perfect radio.
 class RealisticRadioShell
          This MessageShell uses a datafile that those clever people in Glasgow can generate to model the propagation of radio in a more realistic way.
 

Methods in com.speckled.specksim.imp.shells that return MessageShell
 MessageShell PerfectRadioShell.clone()
           
 MessageShell RealisticRadioShell.clone()
           
 MessageShell CollimatedShell.clone()
           
 

Uses of MessageShell in com.speckled.specksim.imp.specks
 

Fields in com.speckled.specksim.imp.specks declared as MessageShell
static MessageShell NeighbourlySpeck.shell
          The message shell that we use to send messages
 

Methods in com.speckled.specksim.imp.specks with parameters of type MessageShell
 void VelocitySpeck.shellEncountered(Speck sender, MessageShell shell, Message message)
           
 void NeighbourlySpeck.shellEncountered(Speck sender, MessageShell shell, Message message)
           
 void FloodSpeck.shellEncountered(Speck sender, MessageShell shell, Message message)
           
 void CollisionSpeck.shellEncountered(Speck sender, MessageShell shell, Message message)