cz.muni.fi.pb162.task2
Class Caller

java.lang.Object
  extended by cz.muni.fi.pb162.task2.Caller

public class Caller
extends java.lang.Object

Class represent person with a phone

Version:
20 10 2009
Author:
Tomas Sedmik

Constructor Summary
Caller(cz.muni.fi.pb162.task2.Phone device)
          Constructor
 
Method Summary
 void makeCall(java.lang.String number)
          Method simulate call
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Caller

public Caller(cz.muni.fi.pb162.task2.Phone device)
Constructor

Parameters:
device - represent device which's use by caller
Method Detail

makeCall

public void makeCall(java.lang.String number)
Method simulate call

Parameters:
number - represent phone number