The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Using xfx



--_000_EBBA46ED9C1C0E449143EDFF179FCCCF8A66FE391Dswp2003pdcwis_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi Edward

Thanks for the reply.
You mentioned the config file - is there documentation on what xfx is
expec=
ting?  Will it just use acceptable defaults if I don't specify anything?

Kind Regards
Graham

________________________________
From: xap_automation@xxxxxxx [xap_automation@xxxxxxx] On Be=
half Of Edward Pearson [edward.mailgroup@xxxxxxx]
Sent: 20 September 2009 23:25
To: xap_automation@xxxxxxx
Subject: RE: [xap_automation] Using xfx



Hi Graham

yes that=92s the right listener to be using but to initialise it from a
def=
ault set of properties and values taken from the configuration file the
cal=
l the constructor with no parameter ie

xListener =3D new xAPHubClientListener();

Rather than

xListener =3D new xAPHubClientListener(new xAPHeartbeat());

The latter form of the constructor expects a heartbeat object that=92s
been=
populated with the settings you want to use (source, uid etc).

Edward


--_000_EBBA46ED9C1C0E449143EDFF179FCCCF8A66FE391Dswp2003pdcwis_
Content-Type: text/html; charset=Windows-1252
Content-Transfer-Encoding: quoted-printable





<head>

<style type=3D"text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html dir=3D"ltr"><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html;
charset=3DWindows-1=
252">
<style type=3D"text/css">.ygrp-photo-title {
CLEAR: both; FONT-SIZE: smaller; OVERFLOW: hidden; WIDTH: 75px; HEIGHT: 15=
px; TEXT-ALIGN: center
}
DIV.ygrp-photo {
BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; BORDER-LEFT: b=
lack 1px solid; WIDTH: 62px; BORDER-BOTTOM: black 1px solid; HEIGHT: 62px;
=
BACKGROUND-COLOR: white
}
DIV.photo-title A {
TEXT-DECORATION: none
}
DIV.photo-title A:active {
TEXT-DECORATION: none
}
DIV.photo-title A:hover {
TEXT-DECORATION: none
}
DIV.photo-title A:visited {
TEXT-DECORATION: none
}
DIV.attach-table DIV.attach-row {
CLEAR: both
}
DIV.attach-table DIV.attach-row DIV {
FLOAT: left
}
P {
CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 3px; O=
VERFLOW: hidden; PADDING-TOP: 15px
}
DIV.ygrp-file {
WIDTH: 30px
}
DIV.attach-table DIV.attach-row DIV DIV A {
TEXT-DECORATION: none
}
DIV.attach-table DIV.attach-row DIV DIV SPAN {
FONT-WEIGHT: normal
}
DIV.ygrp-file-title {
FONT-WEIGHT: bold
}
</style><style>@font-face {
font-family: Wingdings;
}
@font-face {
font-family: Cambria Math;
}
@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Consolas;
}
@font-face {
font-family: Verdana;
}
@page Section1 {margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New
Roman","seri=
f"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New
Roman","seri=
f"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New
Roman","seri=
f"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
CODE {
FONT-FAMILY: "Courier New"
}
PRE {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
TT {
FONT-FAMILY: "Courier New"
}
SPAN.left {
=09
}
SPAN.bld {
=09
}
P.ad {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
LI.ad {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
DIV.ad {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
P.ad1 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
LI.ad1 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
DIV.ad1 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
P.ad2 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
LI.ad2 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
DIV.ad2 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
P.ad3 {
FONT-SIZE: 12pt; MARGIN-BOTTOM: 7.5pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm=
; FONT-FAMILY: "Times New Roman","serif"
}
LI.ad3 {
FONT-SIZE: 12pt; MARGIN-BOTTOM: 7.5pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm=
; FONT-FAMILY: "Times New Roman","serif"
}
DIV.ad3 {
FONT-SIZE: 12pt; MARGIN-BOTTOM: 7.5pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm=
; FONT-FAMILY: "Times New Roman","serif"
}
SPAN.HTMLPreformattedChar {
FONT-FAMILY: Consolas
}
P.replbq {
FONT-SIZE: 12pt; MARGIN: 3pt; FONT-FAMILY: "Times New
Roman","serif"
}
LI.replbq {
FONT-SIZE: 12pt; MARGIN: 3pt; FONT-FAMILY: "Times New
Roman","serif"
}
DIV.replbq {
FONT-SIZE: 12pt; MARGIN: 3pt; FONT-FAMILY: "Times New
Roman","serif"
}
SPAN.yshortcuts {
=09
}
P.ad4 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
LI.ad4 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
DIV.ad4 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
P.ad5 {
FONT-SIZE: 12pt; MARGIN-BOTTOM: 7.5pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm=
; FONT-FAMILY: "Times New Roman","serif"
}
LI.ad5 {
FONT-SIZE: 12pt; MARGIN-BOTTOM: 7.5pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm=
; FONT-FAMILY: "Times New Roman","serif"
}
DIV.ad5 {
FONT-SIZE: 12pt; MARGIN-BOTTOM: 7.5pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm=
; FONT-FAMILY: "Times New Roman","serif"
}
P.ad6 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
LI.ad6 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
DIV.ad6 {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY:
"Times =
New Roman","serif"
}
SPAN.yshortcuts1 {
FONT-WEIGHT: bold; FONT-FAMILY: "Verdana","sans-serif"
}
SPAN.yshortcuts2 {
FONT-WEIGHT: normal; FONT-FAMILY:
"Verdana","sans-serif"
}
SPAN.EmailStyle35 {
COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"
}
.MsoChpDefault {
FONT-SIZE: 10pt
}
DIV.Section1 {
=09
}
OL {
MARGIN-BOTTOM: 0cm
}
UL {
MARGIN-BOTTOM: 0cm
}
</style>
<meta content=3D"MSHTML 6.00.2900.3603"
name=3D"GENERATOR">
<style title=3D"owaParaStyle"><!--P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body lang=3D"EN-GB" vlink=3D"purple"
link=3D"blue" bgcolor=3D"white" ocsi=
=3D"x">


<!-- **begin egp html banner** -->

<br><br>

<!-- **end egp html banner** -->



<div dir=3D"ltr"><font face=3D"Tahoma"
color=3D"#000000" size=3D"2">Hi Edwa=
rd</font></div>
<div dir=3D"ltr"><font face=3D"tahoma"
size=3D"2"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"tahoma"
size=3D"2">Thanks for the reply.</fo=
nt></div>
<div dir=3D"ltr"><font face=3D"tahoma"
size=3D"2">You mentioned the config =
file - is there documentation on what xfx is expecting?&nbsp; Will it
just =
use acceptable defaults if I don't specify
anything?</font></div>
<div dir=3D"ltr"><font face=3D"tahoma"
size=3D"2"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"tahoma"
size=3D"2">Kind Regards</font></div>
<div dir=3D"ltr"><font face=3D"tahoma"
size=3D"2">Graham</font></div>
<div dir=3D"ltr"><font face=3D"tahoma"
size=3D"2"></font>&nbsp;</div>
<div id=3D"divRpF684978" style=3D"DIRECTION:
ltr">
<hr tabindex=3D"-1">
<font face=3D"Tahoma"
size=3D"2"><b>From:</b> xap_automation@xxxxxxx=
m [xap_automation@xxxxxxx] On Behalf Of Edward Pearson [edward.mail=
group@xxxxxxx]<br>
<b>Sent:</b> 20 September 2009 23:25<br>
<b>To:</b> xap_automation@xxxxxxx<br>
<b>Subject:</b> RE: [xap_automation] Using xfx<br>
</font><br>
</div>
<div></div>
<div><br>
<br>
<div class=3D"Section1">
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'">Hi Graham</span></p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'"></span>&nbsp;</p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'">yes that=92s the right listener to
be usin=
g but to initialise it from a default set of properties and values taken
fr=
om the configuration file the call the
constructor with no parameter ie</span></p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'"></span>&nbsp;</p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
10pt; FONT-FAMILY: 'Courie=
r New'">xListener =3D
<span style=3D"COLOR: blue">new</span> <span
style=3D"COLOR: #2b91af">xAPHu=
bClientListener</span>();</span></p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
10pt; FONT-FAMILY: 'Courie=
r New'"></span>&nbsp;</p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'">Rather than</span></p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'"></span>&nbsp;</p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
10pt; FONT-FAMILY: 'Courie=
r New'">xListener =3D
<span style=3D"COLOR: blue">new</span> <span
style=3D"COLOR: #2b91af">xAPHu=
bClientListener</span>(<span style=3D"COLOR:
blue">new</span>
<span style=3D"COLOR:
#2b91af">xAPHeartbeat</span>());</span><span
style=3D=
"FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY:
'Calibri','sans-serif'"></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'"></span>&nbsp;</p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'">The latter form of the constructor
expects=
a heartbeat object that=92s been populated with the settings you want to u=
se (source, uid etc).</span></p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'"></span>&nbsp;</p>
<p class=3D"MsoNormal"><span style=3D"FONT-SIZE:
11pt; COLOR: #1f497d; FONT=
-FAMILY: 'Calibri','sans-serif'">Edward</span></p>
<p class=3D"MsoNormal">&nbsp;</p>
</div>
</div>




<!-- **begin egp html banner** -->

<br>

=20=20=20=20
=20=20=20=20
<br>

<!-- **end egp html banner** -->


<div width=3D"1" style=3D"color: white; clear:
both;"/>__._,_.___</div>

<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- **begin egp html banner** -->

<img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D9674343/grpspI=
d=3D1705007709/msgId=3D4481/stime=3D1253623138" width=3D"1"
height=3D"1"> <=
br>

<!-- **end egp html banner** -->

=20=20=20=20
<!-- **begin egp html banner** -->

<br>
<div style=3D"font-family: verdana; font-size: 77%; border-top: 1px
s=
olid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href=3D"http://groups.yahoo.com/group/xap_automation/join;_ylc=3DX=
3oDMTJmcjljY245BF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5=
BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyNTM2MjMxMzg-">Change settings
via the W=
eb</a> (Yahoo! ID required) <br>
Change settings via email: <a href=3D"mailto:xap_automation-digest@ya=
hoogroups.com?subject=3DEmail Delivery: Digest">Switch delivery to
Daily Di=
gest</a>  <a href =3D "mailto:xap_automation-fullfeatured@xxxxxxx?=
subject=3DChange Delivery Format: Fully Featured">Switch to Fully
Featured<=
/a> <br>
<a href=3D"http://groups.yahoo.com/group/xap_automation;_ylc=3DX=
3oDMTJkMDlzc2VnBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5=
BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjUzNjIzMTM4">
Visit Your Group=20
</a>
<a href=3D"http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href=3D"mailto:xap_automation-unsubscribe@xxxxxxx?subject=
=3DUnsubscribe">
Unsubscribe=20
</a>=20
<br>
</div>
<br>

<!-- **end egp html banner** -->


<div style=3D"color: white; clear:
both;"/>__,_._,___</div>
</body>
</html>

--_000_EBBA46ED9C1C0E449143EDFF179FCCCF8A66FE391Dswp2003pdcwis_--


xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.