Make a Java module ? possible ?

These are old archives. They are kept for historic purposes only.
Post Reply
k2r
Posts: 2
Joined: Mon Feb 12, 2007 2:28 pm

Make a Java module ? possible ?

Post by k2r »

Hi, i'm a beginner in ircd but i have some knowledge in java. My question is : its possible to make a module for unrealIRCD in java language.

Will be great if you have a solution for this.

Thanks.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe »

At present Unreal modules can only be written in C
Grunt
Posts: 159
Joined: Mon Jan 09, 2006 7:31 pm
Contact:

Post by Grunt »

In the same way you can't use Pascal code in C, or C code in Basic, you can't use Java code in C.

Anyway, the syntax in Java is very similar to C, so you shouldn't have a problem understanding how modules work. I suggest downloading any Unix version of the provided modules, and take a look at the code. Many of the functions are self-explainatory (for example: IsOper(sptr) or send_to_one()) and some are commented.
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.
k2r
Posts: 2
Joined: Mon Feb 12, 2007 2:28 pm

Post by k2r »

I know used directly java directly in C is not possible. I only want to know if a solution like interface a special DLL of unreal with JNI was possible or ...

Ok so, if i want unreal plugin, need C code.

Thanks for this quick response.
Post Reply