Return-Path: X-Original-To: apmail-hama-user-archive@www.apache.org Delivered-To: apmail-hama-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A12A2F023 for ; Mon, 15 Apr 2013 00:31:42 +0000 (UTC) Received: (qmail 86155 invoked by uid 500); 15 Apr 2013 00:31:42 -0000 Delivered-To: apmail-hama-user-archive@hama.apache.org Received: (qmail 86081 invoked by uid 500); 15 Apr 2013 00:31:42 -0000 Mailing-List: contact user-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hama.apache.org Delivered-To: mailing list user@hama.apache.org Received: (qmail 86072 invoked by uid 99); 15 Apr 2013 00:31:42 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2013 00:31:42 +0000 Received: from localhost (HELO [172.30.111.113]) (127.0.0.1) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2013 00:31:42 +0000 Subject: Re: Message class in Hama Graph References: From: Edward Content-Type: multipart/alternative; boundary=Apple-Mail-D83D6199-159D-41C9-8506-28E937109EBD X-Mailer: iPhone Mail (10B329) In-Reply-To: Message-Id: <3FF83149-D82B-469A-B891-7FBD299AA1DC@udanax.org> Date: Mon, 15 Apr 2013 09:31:37 +0900 To: "user@hama.apache.org" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) --Apple-Mail-D83D6199-159D-41C9-8506-28E937109EBD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable You can use MapWritable to send different type messages among processors. Sent from my iPhone On Apr 15, 2013, at 7:28 AM, =CE=97=CE=BB=CE=AF=CE=B1=CF=82 =CE=A4=CF=81=CE=B9= =CF=87=CF=8C=CF=80=CE=BF=CF=85=CE=BB=CE=BF=CF=82 wrot= e: > Hello everyone, >=20 > I am new in developing with Hama and generally with BSP model. > The Vertex interface expects an argument "M" that defines the message clas= s. In my class that extends the Vertex class, I am using the sendMessageToNe= ighboors method (inside the compute method). The sendMessageToNeighboors met= hod expects the same argument type as the Vertex class for the message. Duri= ng the computation (in different supersteps) I want to be able to send diffe= rent kind of messages. > Is this somehow possible? >=20 > Thank you, > -- > Ilias Trichopoulos > @nop33wordpress > =20 >=20 --Apple-Mail-D83D6199-159D-41C9-8506-28E937109EBD--