/**
* HumanBeing.java - Version 1.2.1.2
*
* Programmed by Hiroshi Yuki in 1998. Revised in 1999.
* hyuki@hyuki.com
*
* Version 1.2.1.2 Modified by Junichiro Sueishi in 2003.
* j@nextclue.com
*
*/
import java.net.*;
import java.io.*;
import java.util.*;
import Heaven.faith.*;
import Heaven.hope.*;
import Heaven.love.*;
public class HumanBeing {
private HolySpiritualOutputStream out;
private int faithFrequency = Integer.MAX_VALUE;
public HumanBeing() {
try {
Socket socket = new Socket("OurFather.in.Heaven", Heaven.PRAYER_PORT);
out = new HolySpiritualOutputStream(socket.getOutputStream());
} catch (IOException e) {
}
}
public boolean isAlive() {
return true;
}
public int getFaithFrequency() {
return faithFrequency;
}
public void knock(Object obj) {
}
protected void listen() {
try {
worshipGod();
prayForDailyNeed();
Amen();
} catch (IOException e) {
}
}
protected void worshipGod() throws IOException {
out.write("hallowed be your name,");
out.write("your kingdom come,");
out.write("your will be done on earth as it is in heaven.");
}
protected void prayForDailyNeed() throws IOException {
out.write("Give us today our daily bread.");
out.write("Forgive us our debts,");
out.write("as we also have forgiven our debtors.");
out.write("And lead us not into temptation,");
out.write("but deliver us from the evil one.");
}
protected void Amen() throws IOException {
out.write("for yours is the kingdom and the power and the glory for ever.");
out.write("Amen.");
}
protected void putVoicesOfTheGod(Object obj) {
}
}