Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I make the classes implements Serializable? #114

Open
Gligor721 opened this issue Sep 22, 2017 · 0 comments
Open

Can I make the classes implements Serializable? #114

Gligor721 opened this issue Sep 22, 2017 · 0 comments

Comments

@Gligor721
Copy link

Hello to every one,

I have same problem so I need same help!I write a xbee gateway so I can received xbee packet from nodes and send via tcp to central server.I use apache mina for TCP server and client.My gateway is linux base and I create a class TCPMessage that have same int type of message and Object message(that will be the data from gateway to server).Type of message use to know what type is the object message so I can cast later.
Example i received RemoteXBeeDevice and I want to send to server by tcp but the problem is that RemoteXBeeDevice class not Serializable.How to solve this problem?

Thanks for all your help!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant